linerepi.blogg.se

Gifsicle empty file
Gifsicle empty file













gifsicle empty file

So, in the code below, I have not included code to handle transparency information in either image file. I am currently not concerned with handling transparency in GIF and PNG images. My main goals for the Tcl-Tk script were:ġ) Provide a GUI for selecting two image files.Ģ) Provide the user a way to easily select a weighting factor for merging the 2 images.ģ) Allow the 2 images to be of different sizes - and provide the user a simple way to 'align' the 2 images. I returned to the script and started-and-finished the coding-and-testing of the procs for the script this month (about 7 months later, 2014 March) - and that code is presented below. I set the script aside as I worked on other Tk scripts. I started the GUI for that script in August 2013. I have had a 'merge-two-images' Tk script (with GUI control widgets) on my 'to do' list - at the bottom of my 'bio' page uniquename - for about a year now. In fact the GUI consisted only of a canvas holding the new image - no buttons, no entry fields, no controls of any kind on the GUI. In other words, there is no flexibility in the alignment of the 2 images.įurthermore, the weighting factor for merging the two images was hard-coded.

gifsicle empty file

The names of two test GIF files were hard-coded in the code.Īlthough he allowed for the two images to be of different sizes, the code reveals that the two images are merged by 'aligning' the 2 rectangular images with their top-left corners matched-up. However, in his 'demo' code, 'ulis' did not offer a file selector GUI. I thought I might find it handy to have a utility that merges two images - images in JPEG and PNG files, as well as GIF files. In 2003, ulis provided Tcl-Tk code on a wiki page titled Merging images with transparency.















Gifsicle empty file