I'm using digiKam and it has batch processes but not one for converting .png to .jpg (that I see). Does anyone know of a way to convert multiple photos (consecutive and nonconsecutive)?
I'm using digiKam and it has batch processes but not one for converting .png to .jpg (that I see). Does anyone know of a way to convert multiple photos (consecutive and nonconsecutive)?
I use mogrify for stuff like this.
as an exampleCode:man mogrify
See http://www.imagemagick.org/script/mogrify.php for further information.Code:mogrify -format jpg *.png
Earlycj5
I agree that Imagemagick is a great way to do this. (of course you need to install it, which the above post forgot to mention... )
If you prefer a graphical tool instead, you should try Phatch, nice & simple tool for batch processing of images. It doesn't pack all the power of Imagemagick but includes all the most commonly used stuff.
..and there's always the Nautilus Image Converter, which adds basic image conversion tools to right-click menu of your file manager.
All these are of course available from the repositories.
edit: also if you go for Imagemagick, be careful with mogrify. It will overwrite the original images. Use convert instead if you want to keep the originals intact and instead wish Imagemagick to create new images for you.
Last edited by mcduck; November 9th, 2010 at 11:02 PM.
Earlycj5
Thanks for the variety of options! I'll get right on checking them out. I'm also going to keep playing in digiKam...I'm sure there's a way!
Hello guys. I actually made a new post here since my question was specifically about scripting. However as a couple of you sound pretty knowledgeable regarding command line image editing I wanted to throw this question out to you.
The script I am working on (to rotate images) is using jhead and jpegtran for the command line stuff. The reason I am using two different command line image editors is I can't seem to find one that does what I'm looking for well.
Ideally I would just like a command line program that did one thing well "Rotate Images" but with the additional consideration of NOT changing the modified date/time stamp of the .jpg in question.
Thank you for any help you might be able to give.
~ It has recently been discovered that research causes cancer in rats. ~
BTW; I'm using Linux Mint (based on Precise) with MATE so modify Q/A accordingly if applicable.
Hey take a look at this software,
http://www.bestsoftware4download.com...-zcvfhpdg.html
Here's a scriptable way to restore the timestamp on a file:
This obtains the extended timestamp on a file and stores it in an environment variable. At the end the file is "touched" with the old timestamp.Code:FILE='somefile.png' TS=$(ls -l $FILE --full-time | awk '{print $6 " " $7 " " $8}') mogrify -rotate 90 $FILE touch $FILE --time="$TS"
Phatch: Photo Batch Editor. Love this thing!
not only will it convert but it can crop, scale, create
alpha channels, colorize, etc...etc...on a photo batch.
Last edited by ngrieb; November 22nd, 2010 at 08:21 AM.
Art and Wallpapers: http://gforce6point0.deviantart.com
Models, Textures, and Art:http://collectivegraphics.weebly.com
Bookmarks