Ubuntu :: Bash / Script To Convert Dynamically Generated Image To Jpg?

Jun 9, 2010

So, I have this awesome idea whereby I will, every few minutes, dynamically generate a nightside view of the earth.That's the Fourmilabs sat image. I want to set it as my wallpaper. I have already written the bash script to download it and drop it into my wallpaper directory, and I'm using kcron to update my wallpaper. Here's my problem. That URL yields an image, but I can't figure out how to convert that image to a usable file format. It's OTF generated, so unlike other sites that have a format like .../image.jpg, this URL isn't playing nice.

View 9 Replies


ADVERTISEMENT

Software :: Bash - Convert An Image MBM To JPG?

Sep 29, 2010

MBM (image psion format), please how to convert this to regular jpg format? I would like under command line because it is for a scripting

Code:
paul@debian:~/mypsion$ psiconv Skizze
Unknown output type: `TIFF'
this results in no output

View 8 Replies View Related

Fedora :: Convert Image Files To Mpeg Video - Bash: Images2mpg: Command Not Found

Sep 13, 2010

I am new to Linux and I am trying to convert image files to mpeg video I tried using this command images2mpg -o Vorticity.mpeg -i Vorticity-Magnitude0%d.jpeg I get an error as below bash: images2mpg: command not found

View 2 Replies View Related

Programming :: Bash - Read The Array Dynamically?

Sep 24, 2010

Code:

test=(1 2 3 4 5)
for car in ${test[@]}
do
echo "Element : $car"

[code]....

if variable $car equals 1, new element is added "6" to an array. But i don't know why when i am printing all elements of this array (echo "Element : $car") this element ("6") is not mentioned, but if i make a command which check an amount of contained elements by array it will be 6 elements.

View 14 Replies View Related

Ubuntu Multimedia :: Unable To Use 'convert' In Command Prompt To Convert Image File Format

Jan 19, 2010

I am trying to use 'convert' in command prompt to convert image file format.I get the following error.

convert: UnableToOpenConfigureFile `delegates.xml' @ configure.c/GetConfigureOptions/589.
convert: NoDecodeDelegateForThisImageFormat `airplane.jpg' @ constitute.c/ReadImage/530.
convert: MissingAnImageFilename `airplane.ppm' @ convert.c/ConvertImageCommand/2838.

View 3 Replies View Related

General :: Dynamically Change Desktop Background From Bash Script?

Aug 28, 2011

Is it possible to change the GNOME desktop background during some period of time by just a random phrase from the list on black screen? Will is seriously load the CPU and consume battery life?

View 1 Replies View Related

Ubuntu :: Convert Gi Image To Iso?

Jan 20, 2010

i have this .gi image that i want to mount is there any way to convert it to an iso or any other mountable format?

View 2 Replies View Related

Fedora :: Convert Installer CD To Iso Image?

Apr 5, 2010

What will be the easiest way converting Vista installer CD to iso image? I'll use the image to install VM on VirtualBox.

View 2 Replies View Related

Software :: How To Convert Html To Image

Jun 13, 2011

how to convert a html url to any image format in linux ? Is thereany free command line tool to do this ?

View 3 Replies View Related

Software :: Program To Convert An Iso Image To Cso

Jan 27, 2010

i have recently learned how to make backups of my psp games but for some reason they won't play them in iso format only cso (not suprisingly since everyone encourages the use of this format) is there a program out there thats easy to use, can someone show me how to use it i downloaded and installed ciso but haven't figured out what makes it tick

View 1 Replies View Related

Ubuntu Multimedia :: Convert DMG Into Disc Image Compatible With AcetoneISO?

Apr 27, 2011

I have a DMG that I need to convert into a disc image compatible with AcetoneISO. It is compatible with ISO, BIN, NRG, MDF, AND IMG.

View 3 Replies View Related

Ubuntu :: Convert Bash Into Executable File?

Jan 19, 2010

SO I'm not talking about changing the file permissions, The only thing I could find on google was this [URL]Basically can you convert your bash script into a executable file, One that you can't open in text editor?

View 2 Replies View Related

Software :: Convert Jffs2 Image To C Source Code?

Feb 16, 2011

I am trying to find a way to get/read the C source code from a JFFS2 image file. All I have is the jffs2 file and nothing else. I was looking for some kind of converter or reader that would allow me to do this. I know very little about Linux. I need to give the source code to a developer to save time on a new version/redevelopment of the original application.

View 3 Replies View Related

General :: Filesystems - Convert A Disk Image Into A Sparse File?

Jul 31, 2010

I have a bunch of disk images, made with ddrescue, on an EXT partition, and I want to reduce their size without losing data, while still being mountable. How can I fill the empty space in the image's filesystem with zeros, and then convert the file into a sparse file so this empty space is not actually stored on disk?

For example:

> du -s --si --apparent-size Jimage.image
120G Jimage.image
> du -s --si Jimage.image
121G Jimage.image

This actually only has 50G of real data on it, though, so the second measurement should be much smaller.

This supposedly will fill empty space with zeros: cat /dev/zero > zero.file rm zero.file But if sparse files are handled transparently, it might actually create a sparse file without writing anything to the virtual disk, ironically preventing me from turning the virtual disk image into a sparse file itself. :) Does it? Note: For some reason, sudo dd if=/dev/zero of=./zero.file works when cat does not on a mounted disk image.

View 4 Replies View Related

General :: Program To Convert Audio File Of Fax Transmission To Image?

Dec 2, 2010

I have a number of uncompressed audio files recorded off of an analog (POTS) telephone line of fax transmissions. Is there a Linux utility or library I could use to convert these files into images of the fax they contain? I'm not looking to send/receive a fax via a modem, but just to "replay" the communications tones and parse out the fax message.I'm guessing this may not be possible due to duplex issues and not knowing which end of the conversation is sending what,but thought I'd ask to see if anyone knew of something.

View 4 Replies View Related

Software :: Anamorphic Image Editor - Convert / Resize The Aspect Ratio

Jan 2, 2010

I'm looking for a graphics editor which will convert/resize the aspect ratio of the anamorphic images I create in-camera to their appropriate size. I'm shooting my images on film and digital. My digital camera is a Sony H50 with native 4:3 format. I'm also shooting with a Hasselblad EL/M with the standard 6x6 format.

Using my 2x anamorphic head on either camera will produce the following results: Sony H50: 4:3 > 2.66:1 (8:3) Hasselblad EL/M: 6x6 > 12x6. We're easily talking about 48"x24" or 60"x30" prints here folks! So I need to know which programs in Linux will give me the results I'm looking for.

View 11 Replies View Related

Programming :: Convert Bash Script To Binary?

Apr 28, 2010

compile binary package for bash script?

View 2 Replies View Related

Ubuntu Multimedia :: Write A Bash Script To Batch Convert To Mp3hd?

Oct 23, 2010

ok so i am trying to write a batch convert script for mp3hd(do not snigger)my starting point is a script i know works i got elsewhere

Code:
for f in *.m4a; do ffmpeg -i "$f" "${f%.m4a}.wav"; done
from here

[code]....

View 9 Replies View Related

General :: Bash Script To Convert MPG Files To AVI Format?

Sep 19, 2009

I'd like to write a bash script to convert all of the .mpg files in a directory to .avi files. The ffmpeg part of this produces the kind of file that I want, but rather than changing the name of the input and output files each time that I run the script, I'd like to automate it. I've tried this script, but I get an error "command not found".

#!/bin/bash
cd /home/michael_s/golf_temp
1 for i in 'ls *.mpg' ; do
/usr/bin/ffmpeg.exe -i /home/michael_s/golf_temp/"$i" -map 0:0 -map 0:1 -pass 1 -vcodec mpeg4 -vtag xvid -f avi -b 1100k -vol 384 -mbd rd -s 640x480 -aspect 4:3 -acodec libmp3lame -ac 2 -ab 128k /home/michael_s/golf_temp/"$i".avi

rm -f /home/michael_s/golf/temp/"$i".avi
/usr/bin/ffmpeg.exe -i /home/michael_s/golf_temp/"$i" -map 0:0 -map 0:1 -pass 2 -vcodec mpeg4 -vtag xvid -f avi -b 1100k -vol 384 -mbd rd -s 640x480 -aspect 4:3 -acodec libmp3lame -ac 2 -ab 128k /home/michael_s/golf_temp/"$i".avi
done
fi
quit

View 5 Replies View Related

Programming :: Bash: Convert Decimal To Minutes:seconds?

Jan 13, 2011

I have a script in the works that reads an MP3 file and gets the track length. Trouble is, it gives me the total seconds, like this:

Sample Track.mp3 = 225.55 seconds

What I'd like to have is that 225.55 converted into minutes:seconds format (in this case, 3:45). How can I do this?

View 10 Replies View Related

Ubuntu :: Image Manipulation In Bash Scripting?

Jul 5, 2010

I have a bash script that inserts some text onto every image at a certain place within a directory.

Heres what I have (from a German friend who appears online once in a blue moon), this is the line that resizes to a maximum of 800 either width or height and puts in the text 'text goes here'.

convert ${bild} -resize "800x800>" -strip -family Arial -pointsize 16 -draw "gravity southeast fill rgba(255,0,0, 1.0) text 10,10 'text goes here'" ${dstdir}/${bild}

Now, I would like to know how to place a PNG image (a watermark, so to speak) over all images within a directory in a certain place, so how would I go about modifying this line to place an image instead of the text?

View 9 Replies View Related

Debian :: Image Manipulation In BASH?

Nov 7, 2010

I would like the ability to manipulate a jpg (bmp, gif and raw would be nice as well) while in BASH. To be more specific, I would like to either add a water mark or a little section as a footer on the bottom of an image.

I will be using this as part of a shell script to alter files in a directory on my webserver.

View 2 Replies View Related

General :: Bash - Shell Utils: Convert A List Of Hex To List Of Decimals?

Dec 27, 2010

How can I convert a file with a lot hex numbers into the decimal?

Example: file1
0x59999
0x5acdc
0xffeff

I want to start $ cat file1 | util | cat >file2 and get file2 with smth like

[Code]...

View 3 Replies View Related

Ubuntu Networking :: How To 'see' Dynamically Created Wpa_supplicant.config

Jan 26, 2011

I've got my laptop working with my UNI's rather complex wifi setup.

I need to get access to my wpa_supplicant file so i can use it with my nook and a few other devices that i need to get wifi access.

Network manager, i know, does all the wpa stuff dynamically and through scripts, so is there any way that i can get network manager to generate my wpa_supplicant config?

View 1 Replies View Related

Red Hat / Fedora :: Add Files Dynamically To An Already Existing Rpm?

Jul 21, 2009

I am facing a problem. I want to know how to add files to an already existing rpm. Not at the creation time of rpm. Because we have to add some files to it dynamically if any user purchases it from our webserver. I have searched everywhere but havent find any. Is it possible to do so?

View 1 Replies View Related

Server :: Set Terminal-title Dynamically?

Apr 22, 2010

my problem:

- i log into many linux servers (redhat, debian, suse, ubuntu)

- i want to set the terminal window/tab title to something like: time|ip|fqdn|pwd

the partial solution i found:

- declaring a function _setTitle() in /etc/bashrc

- setting PROMPT_COMMAND at all servers in /etc/bashrc, calling _setTitle is /etc/bashrc the proper place?

but i am i need of a command to set the title of the windows/tabs

solution should

- work for tabs and windows

- should use only builtins and avoid nasty cpu-wasting external forks

- work with common clients (windows/putty, linxu/gnome-terminal, linux/konsole)

- solution should base on cli, not on some gui like sshmenu!!!

View 2 Replies View Related

Programming :: Dynamically Loading Libraries In GNU?

Oct 22, 2010

This post isn't really asking for a tutorial, but rather asking for some ideas. I've come up with a few ideas, but they seem cumbersome and unnecessary, so I was wondering if someone with more experience than me could out. Also, my explanations suck, but I'll try to do my best. So say I have an executable called X. At some point during its execution, X loads and uses (using dlopen and dlsym) a library called Y. In Y, there a bunch of functions that call the function called, for example, void *special_malloc (size_t). These functions come from another linked library (linked during compilation) called Z. Problem is, special_malloc contains some static variables within its scope, and when those variables are reset midway through a program, an invalid free occurs (special_malloc uses garbage collection). Now, what I want to happen is that whenever lib Z calls special_malloc, it instead calls the special_malloc defined in the executable X, so that these static variables are retained. Keep in mind that I have control of the Z library, meaning I can edit the source to fit my needs.

View 2 Replies View Related

Ubuntu :: Convert Wav To Mp3 Using Nautilus-script-audio-convert?

Mar 16, 2010

An easy way to convert wav files into mp3 (or ogg).

$ sudo-apt-get install nautilus-script-audio-convert mpg321 vorbis-tools lame nautilus-script-manager.

after that run

$ nautilus-script-manager enable ConvertAudioFile

Now, when you right click on audio file, under 'scripts', you will see ConvertAudioFile option.

View 3 Replies View Related

Ubuntu :: Displaying A Text File Dynamically On My Desktop - Conky ?

Nov 1, 2010

I use the awesome todo.txt cli tool for my todo list. I want to find a way to display this on my desktop, and have it update every time I update the file. Is there an easy way to do this? Does conky do stuff like this?

View 2 Replies View Related

Ubuntu :: Change Queue Parameters Dynamically During The Simulation Under NS2 Simulator?

Sep 19, 2010

I want to change parameters of a RED queue during the simulation but it seems that some parameters can be modified only before starting the simulation, not dynamically, while the simulation is in progress. For example the following subroutines works before $ns run command but it do not change the behavior of the queue during the simulation( I want to change maxthresh_ and thresh_ after $ns

run command): Code: proc setREDParameters { redQueue MINth MAXth PER_MaxP Wq } {
$redQueue set thresh_ $MINth
$redQueue set maxthresh_ $MAXth

[code]....

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved