Page 1 of 2

Is there a way to batch-change a picture format?

Posted: Sun 08 Jun 2014, 08:13
by gcmartin
Anyone know of a Puppy utility for changing a folder of JPEGs or folder of PNGs to GIFs? Would like a utility which can batch change all in a folder to create new GIFs?

Thanks for any guidance

Posted: Sun 08 Jun 2014, 12:53
by neerajkolte
I found THIS for making separate gif of each jpeg.
I also found THIS using ImageMagick to combine bunch of jpeg into single gif,
also see This.

Posted: Sun 08 Jun 2014, 15:09
by Semme
IM's the best, but be careful to include the "-path" option. If installed, this'll tell you it's build >> display --version

Posted: Sun 08 Jun 2014, 19:11
by puppyluvr
:) Hello,
Phatch does batch photo processing, but requires a lot of Python. Gimp, iirc, has a batch plug-in.

converseen

Posted: Sun 08 Jun 2014, 19:44
by stemsee
Try Converseen either on wine or natively! It is a frontend for ImagMagick!

Posted: Sun 08 Jun 2014, 20:41
by Semme

Posted: Sun 08 Jun 2014, 20:59
by slavvo67
@GCMartin:

I have a script that does that with Imagemagick in the background. It's kind of a hot mess because I combined file conversion of documents, image negatives, size changes, etc. It's messy for sure as I originally slapped it together for my personal uses. I haven't refined it but I'll put it up on my website if you want to DL it.

Note: It's not made to change the format but create a new format side-by-side. I always fear erasing my originals by accident. However, if you're changing a jpg to resize in the jpg format, it will overwrite.

http://www.complianceman.com/puppy2

It's called PDFChuckX2.

Posted: Sun 08 Jun 2014, 21:57
by rcrsn51
Removed due to lack of interest.

Posted: Sun 08 Jun 2014, 22:07
by angrydingo007
I found this program: http://converseen.fasterland.net/
Is it any good?

Edit: Oh, stemsee already posted it.

Posted: Sun 08 Jun 2014, 22:35
by gcmartin
@Rcrsn51, your PET in your post is not available.
Edit: Moments after posting this. I just got your latest version. Thx.

Offering from others
Many other members are pointing to ImageMagicK as the conversion vehicle for taking JPEGs and creating GIFs.

This thread's offerings posted are helpful as the ability for animated GIFs in reporting problems and solutions in the forum can be helpful in conveying finding to forum community. Not to mention the many other uses that come to mind. This was my primary reason for asking community help.

In fact, I just found this to Animate a folder group of images to a GIF. Since I am new to this, I will try it.
Edit2: Animate command not found. Seem this might require installation of ImageMagicK. Would that be recommended for management of raster images? Advise, pls. My issue is not one of size, but of stability and functionality.

BUT ...
Maybe a Puppy Linux "solution for Animated GIFs" or maybe even better, a Puppy Linux "solution for Picture format changes" would have a wide-spread use and allow incorporation of that kind of utility in future PUP distros.

Hummm...

Posted: Mon 09 Jun 2014, 05:27
by musher0
Hi, gcmartin.

Have you checked if the new Linux version of XnView with Qt can do it?
The old WhineDose version of XnView did it very well.

BFN.

musher0

Posted: Mon 09 Jun 2014, 10:18
by Semme

Posted: Mon 09 Jun 2014, 12:14
by SFR
Hey GC, why don't use ffmpeg, which is built-in in practically every Puppy?

Note, that in the following examples, the input files have to be named like: image_001.png, image_002.png and so on.

If you want to transform series of PNG images into looped GIF animation:

Code: Select all

ffmpeg -r 10 -i image_%03d.png -pix_fmt rgb24 -loop_output 0 out.gif
(for older ffmpeg, 0.8.x)

Code: Select all

ffmpeg -r 10 -i image_%03d.png -pix_fmt rgb24 -loop 0 out.gif
(for newer ffmpeg, 2.0.x)

-r 10 is framerate.

Or if you want to convert series of PNG images into separate GIF images:

Code: Select all

ffmpeg -i image_%03d.png -pix_fmt rgb24 -f image2 out_%03d.gif
HTH
Greetings!

Posted: Mon 09 Jun 2014, 15:06
by sunburnt
Hi gcmartin; Vovchik made a nice cli utility: picscale

I also made a Rox drag-n-drop gui utility to do pic conversions that uses it.

Posted: Mon 09 Jun 2014, 21:13
by puppyluvr

Posted: Tue 10 Jun 2014, 10:33
by Geoffrey
rcrsn51 wrote:Removed due to lack of interest.
I was interested, that was a handy package to have, thankfully I now have a copy, thank you, it was appreciated.

Posted: Tue 10 Jun 2014, 10:48
by rcrsn51
Thanks. The command-line tool is now part of the MAAG package here.

Posted: Tue 10 Jun 2014, 10:55
by Semme
I tried it too, but couldn't get it to function aboard 528. I'll try your other one..

Posted: Tue 10 Jun 2014, 11:03
by rcrsn51
Semme wrote:I tried it too, but couldn't get it to function aboard 528.
Did you post a test report?

Posted: Tue 10 Jun 2014, 11:42
by Semme
I was speaking of the cli app, convert2gif.

MAAG doesn't fly either.

I've searched both personal and system..

A test report would end up where?