Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 24 Nov 2014, 04:36
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
gifsicle Slacko PET - for Animated GIFs
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
gcmartin

Joined: 14 Oct 2005
Posts: 4436
Location: Earth

PostPosted: Thu 29 May 2014, 19:10    Post subject:  gifsicle Slacko PET - for Animated GIFs  

This graphic utility, "Gifsicle", appears to be an excellent addition to Puppy for creating/manipulating Animated GIFs which can be used to report issues on the forum.

Could/would anyone help?

Thanks in advance

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 1472
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Fri 30 May 2014, 02:10    Post subject:  

Here ya go, compiled in Carolina, I have no idea how to use it, it appears to be a command line app.
gifsicle-1.83-i486.pet
Description 
pet

 Download 
Filename  gifsicle-1.83-i486.pet 
Filesize  146.88 KB 
Downloaded  93 Time(s) 

_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
CatDude


Joined: 03 Jan 2007
Posts: 1497
Location: UK

PostPosted: Fri 30 May 2014, 09:59    Post subject: Re: gifsicle Slacko PET - for Animated GIFs  

Hi

gcmartin wrote:
gifsicle Slacko PET - for Animated GIFs


You don't say which version of Slacko, but 5.7 already has gifsicle installed.
It is version 1.40 and is in: /usr/local/bin

CatDude
.

_________________

Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3379
Location: Ontario

PostPosted: Sat 31 May 2014, 14:59    Post subject:  

There has been a lot of improvements since 1.40
Quote:


Gifsicle changes

1.83 21.Apr.2014
Correct bug in custom gamma values reported by Kornel Lesiński.

Update Windows build.

1.82 27.Mar.2014
Correct bug in ‘mix’ sampling method reported by Bryan Stillwell.

1.81 24.Mar.2014
Correct bug in ‘mix’ sampling method reported by Bryan Stillwell.

1.80 18.Mar.2014
Bug fixes and improved error messages.

1.79 17.Mar.2014
Major improvements in image scaling. Work sponsored by Tumblr via Mike Hurwitz.

Add new resize sampling methods ‘mix’, ‘box’, ‘catrom’, ‘mitchell’, ‘lanczos2’, and ‘lanczos3’, selectable by ‘--resize-method’. The ‘catrom’ filter often gives good results; the slightly faster ‘mix’ method (a bilinear interpolator) is now the default. These new sampling methods consider all of the image’s input colors when shrinking the image, producing better, less noisy output for most images.

Add ‘--resize-colors’, which allows Gifsicle to enlarge the palette when resizing images. This is particularly important when shrinking images with small colormaps---e.g., shrinking a black-and-white image should probably introduce shades of gray.

Support extensions such as XMP4 in which extension packet boundaries matter. Reported by ‘ata4’.

Many bug fixes, especially to cropping. Thanks to Tumblr and to Bryan Stillwell, Tal Lev-Ami, "Marco," and others.

1.78 9.Dec.2013
Correct an optimization bug introduced in 1.76. Reported by Tom Roostan.

1.77 26.Nov.2013
Major improvements to color selection (important when reducing colormap size). Use gamma-corrected colors in selection and dithering; this makes image quality much better. Also, when reducing colors with dithering, prefer to select colors that dithering can’t approximate.

Add ordered dithering modes, which avoid animation artifacts. The default ordered dithering mode (‘--dither=ordered’) is a novel mode that combines some of the visual advantages of error diffusion with the artifact avoidance of ordered dithering.

Add halftone dithering (‘--dither=halftone’).

gifview: Improved cache memory management for better animations. Collect memory for old frames based on an explicit --memory-limit (default 40MB).

gifview: Add ‘--fallback-delay’ option, to specify a fallback delay for frames with delay 0. Thanks to Sung Pae.

1.76 20.Nov.2013
Fix ‘-O2’ crashes introduced with ‘--resize’ improvements. Reported by Bryan Stillwell.

1.75 18.Nov.2013
Improve ‘--careful’ (fewer crashes). Reported by Bryan Stillwell.

Improve ‘-O2’: again, don’t refuse to optimize images with local color tables. Reported by Bryan Stillwell.

Greatly improve ‘--dither’ speed.

1.74 16.Nov.2013
Improve ‘--resize’ behavior: avoid animation artifacts due to different rounding decisions. Also speed it up. Reported by Bryan Stillwell.

1.73 15.Nov.2013
Fix bug where ‘-O2’ would refuse to optimize some images with local color tables, claiming that "more than 256 colors were required". What was really required is previous disposal. Reported by Bryan Stillwell.

1.72 9.Nov.2013
Fix crash bugs on some combinations of ‘--crop’ and ‘--resize’ (prevalent on images whose first frame didn’t cover the whole logical screen). Reported by Bryan Stillwell.

1.71 15.Jun.2013
Avoid rounding errors in ‘--resize’. Reported by Paul Kane.

Report error when ‘-I’ is combined with ‘-b’. Reported by Frank Dana.

Frame selections also apply in batch mode. Reported by LOU Yu Hong Leo.

1.70 31.Jan.2013
Fix ‘--crop’ bug introduced in version 1.68, visible in images containing local color tables. Bug reported by Alberto Nannini.

1.69 31.Jan.2013
Minor bug fix release.

1.68 24.Nov.2012
gifsicle: Alberto Nannini reported some images that are optimized beyond what Gifsicle can do. In fact, Gifsicle’s GIF writer was limited enough that even when running without optimization, it seriously expanded the input images. Some improvements to Gifsicle’s writing procedure avoid this problem; now ‘gifsicle IMAGE’ will produce large results less often, and when it does generate larger results, they’re larger by hundreds of bytes, not hundreds of thousands. However, due to restrictions in the current optimizer (and on my time), I was unable to improve ‘gifsicle -O3”s handling of these images. The optimizer that produced the images must be doing something pretty clever. (Is it SuperGIF?)

1.67 5.May.2012
gifsicle: Frame specifications like "#2-0" are allowed; they insert frames in reverse order. Feature request from Leon Arnott.

gifview: Add --min-delay option.

1.66 2.Apr.2012
gifsicle: Add -Okeep-empty for Gerald Johanson.

1.65 2.Apr.2012
gifsicle: Several users (Kornel Lesiński and others) reported "bugs" with Gifsicle-optimized images and Mac programs like Safari. The bug is in Safari, but add --careful to work around it.

Improve -O3 a bit (although for some images, the new -O3 is bigger than the old).

1.64 22.Nov.2011
gifsicle: Add --resize-fit options. Tom Glenne request.

1.63 17.Jul.2011
gifsicle: Avoid crash on frame selections where frames are repeated. Werner Lemberg report.

1.62 4.Apr.2011
gifsicle: -O3 optimization level tries even harder, so that now gifsicle -O3 should never produce larger results than gifsicle-1.60 -O2. Jernej Simončič report.

1.61 25.Feb.2011
gifsicle: Add new -O3 optimization level, which applies several transparency heuristics and picks the one with the best result. David Jamroga pointed out a file that gifsicle made larger; -O3 shrinks it.

gifsicle: Correct some optimizer bugs introduced in 1.59 that could lead to visually different output.

gifdiff: Add -w/--ignore-redundancy option.

gifview: Correct crash bug.

gifsicle/gifdiff: Correct occasionally odd error messages.

1.60 12.Apr.2010
GIF reading library: Correct error that could corrupt the reading of certain large images. Reported by Jernej Simončič.

1.59 11.Mar.2010
gifsicle -O2: Optimize away entirely-transparent frames when possible. Requested by Gerald Johanson.

1.58 14.Jan.2010
gifsicle: Fix optimizer bug reported by Dion Mendel.

1.57 11.Nov.2009
gifsicle: Don’t throw away totally-cropped frames with 0 delay, since most browsers treat 0-delay frames as 100ms-delay frames. Reported by Calle Kabo.

1.56 18.Oct.2009
gifsicle: Fix --crop-transparency for animated images; previous versions could lose frames. Problem reported by Daniel v. Dombrowski.

gifview: Make --disposal=background behavior look like Firefox.

1.55 3.Apr.2009
gifsicle: Another optimize fix for --disposal previous. Reported by Gerald Johanson.

1.54 3.Apr.2009
gifsicle, gifview: Fix several serious bugs with --disposal previous that could affect optimized, unoptimized, and displayed images. Reported by Gerald Johanson.

1.53 19.Mar.2009
gifsicle: Frames in an unoptimized image will use disposal "none" when possible. This leads to fewer surprises later.

1.52 18.May.2008
gifsicle: Fix bug introduced in 1.51: --crop-transparent works. Reported by dgdd wanadoo fr.

1.51 12.May.2008
gifsicle: ’--crop’ preserves the logical screen when it can. Reported by Petio Tonev.

1.50 7.May.2008
gifsicle, gifview: Refuse to read GIFs from the terminal. Requested by Robert Riebisch.

1.49 2.May.2008
Just some Makefile updates requested by Robert Riebisch.

1.48 16.Mar.2007
gifsicle: Avoid crash in ’--crop-transparency’ when an image’s first frame is totally transparent. Reported by Gerald Johanson.

1.47 10.Mar.2007
gifsicle: Improve ’--nextfile’ behavior.

1.46 9.Jan.2007
gifsicle: Add ’--nextfile’ option, useful for scripts. Problem reported by Jason Young.

1.45 30.Dec.2006
Do not compile gifview by default when X is not available.

gifview: Add ’--title’ option, based on patch supplied by Andres Tello Abrego.

1.44 3.Oct.2005
gifview: Enforce a minimum delay of 0.002 sec. Requested by Dale Wiles.

1.43 8.Sep.2005
’-I -b’, and other similar combinations, causes a fatal error rather than putting information in an unexpected file. Reported by Michiel de Bondt.

1.42 8.Jan.2005
Improve manual page.

1.41 19.Aug.2004
Fix problems with 64-bit machines. Thanks to Dan Stahlke for pointing out the problem and providing a patch.

1.40 28.Aug.2003
Fix longstanding bug where ’--disposal=previous’ was mistakenly equivalent to ’--disposal=asis’.
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4436
Location: Earth

PostPosted: Thu 05 Jun 2014, 04:10    Post subject:  

Thanks @Geoffrey. I installed it in Slacko570, but have not tested as of yet. I'm guessing a Caroline compiled PET will work in 32bit Slackos.
Code:
# which gifsicle
/usr/bin/gifsicle

# gifsicle --version
LCDF Gifsicle 1.83
Copyright (C) 1997-2014 Eddie Kohler
This is free software; see the source for copying conditions.
There is NO warranty, not even for merchantability or fitness for a
particular purpose.

Geoffrey wrote:
...I have no idea how to use it...
Saw this Guide to get one started.
_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4436
Location: Earth

PostPosted: Thu 05 Jun 2014, 06:22    Post subject:  

Combined 3 gifs into a single "animated GIF".
Code:
# gifsicle --delay=310 --loop=10 --colors 256  1.gif  2.gif  3.gif > AnimateProblem2.gif
gifsicle is installed with its utilities; 1 of which is a viewer of any animated GIF; namely gifview.
Code:
# which gifview
/usr/bin/gifview
Problem:
The viewer is not cycling thru the animation in Slacko570 desktop when run from the command line. And, there are no errors shown.
Code:
# gifview  AnimateProblem2.gif
But, if I launch FF, it properly cycles in the browser.
Code:
# firefox  AnimateProblem2.gif
Anyone have any ideas?
AnimateProblem2.gif
 Description   Here is the file created by GIFSICLE.
FF displays as it should appear,
but, GIFVIEW on SLACKO is not cooperating.
 Filesize   141.83 KB
 Viewed   218 Time(s)

AnimateProblem2.gif


_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3379
Location: Ontario

PostPosted: Thu 05 Jun 2014, 19:14    Post subject:  

The command I used in my gifsicle tutorial was

Code:
gifsicle --colors 256 -w -O2 -D 2 -l --careful -d 50 *.gif -o /root/fish.gif


I test with viewnior.

______________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0925s ][ Queries: 12 (0.0085s) ][ GZIP on ]