Tag Info

New answers tagged

0

You can try XnViewMP, it works for my needs.


2

In addition to other answers: since you want to produce a GIF file, I assume you want to display the image on a web page. If so, I would not bother converting your PNGs at all. Just google for "javascript slideshow" and use one of the millions of free scripts. Or write your own, this is really trivial. The benefits of doing it this way are: only one image ...


2

Use -limit memory 1GiB to limit the amount of memory convert uses. 1000s of images would create a huge GIF that most computers will struggle to display. I keep my animated GIFs below 200 images when possible. The fewer the better. If you number your images, this command will delete the odd numbered images rm *[13579].png. So here is my typical workflow ...


0

You should be able to use the mimetype utility - from man mimetype: NAME mimetype - Determine file type SYNOPSIS mimetype [options] [-] files DESCRIPTION This script tries to determine the mime type of a file using the Shared MIME-info database. It is intended as a kind of file(1) work-alike, but uses mimetypes instead ...


2

Mine are saved in ~/Pictures/Webcam. Also, I can right-click the images in cheese then a menu will pop up with the options: Open, Save As..., Move to Trash and Delete.


5

This seems to be a limitation of the GTK+. You can't force its file selector to do something it just can't currently do. Any applications that use the GTK+ file selector widget are going to have the same problems. However applications that use the Qt equivalent (and therefore all KDE applications and many others), can open directly from HTTP links. I have ...


16

It sounds like you're trying to make a video. If that's the case, then I'd use a proper video format. In this case, I'd use ffmpeg to convert the individual PNG files to a H.264 video. Since ffmpeg is made to work with videos that can be hours long, it should have no problem with your thousands of images. Using H.264 instead of animated gif will result in ...


1

gifsicle is a command-line utility to handle GIF animations. If you are willing to trade memory for speed, you can use its --conserve-memory switch.


3

I could use another open format if .gif is not supported Perhaps APNG is of use to you. It's supported by some browsers, including Firefox but at the moment excluding Chrome and IE. Since it's just a PNG extension, it's very simple to convert PNGs to APNG. The apngasm tool can do that. But the format is so simple that I recently wrote an APNG assembler ...


9

Personally, I would just launch it on limited numbers of files instead of all at once. For example, something like this: #!/usr/bin/env bash ## Collect all png files in the files array files=( *png ) ## How many should be done at once batch=50 ## Read the array in batches of $batch for (( i=0; $i<${#files[@]}; i+=$batch )) do ## Convert this batch ...


2

If you have thousands of png-s, the anigif format is weird. I would do it in this way, using avconv: avconv -i "%d.png" -r 25 -c:v libx264 -crf 20 -pix_fmt yuv420p animated.mov



Top 50 recent answers are included