[vox-tech] PNG tweaking - how to 'kill' RGB in 100% transparent pixels

2006-03-05 Thread Bill Kendrick
So I've got 355-and-counting PNG images in Tux Paint's 'stamps' collection. Many of these were photos which were resized, and had the backgrounds removed (using the Eraser and selection tools in The GIMP), and then saved as RGBA PNG files. By default, I GIMP saves PNGs with the following option

Re: [vox-tech] PNG tweaking - how to 'kill' RGB in 100% transparent pixels

2006-03-05 Thread Jonathan Stickel
Have you looked at ImageMagick's convert utility? It is a fairly powerful tool with many options. As a brute-force method, converting to some format that doesn't support transparency, and then back again, might work for you. Jonathan Bill Kendrick wrote: So I've got 355-and-counting PNG

Re: [vox-tech] PNG tweaking - how to 'kill' RGB in 100% transparent pixels

2006-03-05 Thread Ken Bloom
On Sunday 05 March 2006 17:11, Bill Kendrick wrote: I was hoping to make a script that I could run on occasion (say, before release, or after adding a batch of new PNGs). My initial thought was to use pngcrush. I have one immediate problem. Debian/sid's pngcrush is currently b0rked:

Re: [vox-tech] PNG tweaking - how to 'kill' RGB in 100% transparent pixels

2006-03-05 Thread Bill Kendrick
On Sun, Mar 05, 2006 at 07:09:47PM -0600, Ken Bloom wrote: I have one immediate problem. Debian/sid's pngcrush is currently b0rked: snip Recompile pngcrush or download a working version from snapshot.debian.net Heh, well, that's not going to help if it can't do what I need it to do. But

Re: [vox-tech] PNG tweaking - how to 'kill' RGB in 100% transparent pixels

2006-03-05 Thread Bill Kendrick
On Sun, Mar 05, 2006 at 04:16:43PM -0800, Jonathan Stickel wrote: Have you looked at ImageMagick's convert utility? Yeah, I did. (Actually mentioned it in my original post ;^) ) It is a fairly powerful tool with many options. As a brute-force method, converting to some format that doesn't