

#Gifsicle crop generator
Here's the string generator method, in fact it generates completely random strings in a given size range, and I used in the tests characters provided from the 33 ~ 127 values passed to the Convert.ToChar() method. Too much information? Try 'J:\ProgsWin\GIFS150K\GIFW.EXE -help | more'.My sample strings don't exactly contain perfect representations of the cases at hand, but I believe they are good enough. WARNING: Experimental port, pipe coloring and Floyd stuff might not work. use-colormap CMAP Set output GIF's colormap to CMAP, which can transform-colormap CMD Transform each output colormap by shell CMD. scale XFACTOR Scales the output GIF by XFACTORxYFACTOR. resize-height H Resizes to height H and proportional width. resize-width W Resizes to width W and proportional height. resize WxH Resizes the output GIF to WxH. f, -dither Dither image after changing colormap. color-method METHOD Set method for choosing reduced colors. k, -colors N Reduces the number of colors to N. change-color COL1 COL2 Changes COL1 to COL2 throughout. careful Write larger GIFs that avoid bugs in other l, -loopcount Sets loop extension to N (default forever). D, -disposal METHOD Sets frame disposal to METHOD. d, -delay TIME Sets frame delay to TIME (in 1/100sec). extension N D Adds an extension number N with data D.Īnimation options: Also -no-OPTION and -same-OPTION. c, -comment TEXT Adds a comment before the next frame. x, -app-extension N D Adds an app extension named N with data D. t, -transparent COL Makes COL transparent.Įxtension options: Also -no-OPTION and -same-OPTION. p, -position X,Y Sets frame position to (X,Y). S, -logical-screen WxH Sets logical screen to WxH. crop-transparency Crops transparent borders off the image. B, -background COL Makes COL the background color. Image options: Also -no-OPTION and -same-OPTION.

replace FRAMES GIFS Replace FRAMES with GIFS in input. insert-before FRAME GIFS Insert GIFS before FRAMES in input. multifile Support concatenated GIF files.įrame selections: #num, #num1-num2, #num1-, #name conserve-memory Conserve memory at the expense of speed. V, -verbose Prints progress information.
#Gifsicle crop plus
extension-info, -xinfo -info plus extension details. color-info, -cinfo -info plus colormap details. General options: Also -no-OPTION for info and verbose. E, -explode-by-name Explode mode, but write 'input.name'. e, -explode Explode mode: write N files for each input, b, -batch Batch mode: modify inputs, write back to m, -merge Merge mode: combine inputs, write stdout. Mode options: at most one, before any filenames. Space, and printing information about GIFs. Single images into animations, adding transparency, optimizing animations for GIFSICLE has a "resize" feature doing all in one step, but uses the "nearest neighbor" algo only - gives bad results except for zooming up with an integer factor.
#Gifsicle crop code
To avoid this problem, one can "merge" the frames into 1 static BMP using XN (not NC ?) before resizing and palettize this one BMP only, and then re-split (but how ? Have to code something ) The problem is that you will get a separate palette for every frame this way (-> bloated GIF). Re-merge with GIFSICLE (or above mentioned UNFREEZE) Re-palettize them using NC/XN, save as GIF

Resize the frames using NC/XN and appropriate algo (this will convert them into 24bpp True color), save as BMP Extract the frames with GIFSICLE or NC/XN If GIF is "optimized", "unoptimize" it with GIFSICLE (XN can't) Minimal AGIF creation should be rather easy, OTOH "optimizing" is a considerable amount of additional work. > maybe this can be done via xnview batch file somehow?
#Gifsicle crop download
forgot to post download link to my DOS and Win32 ports:
