b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » XXX » Message 10041819 (Thread)

# Threadjack!
but are there any good ideas how to keep background image transparency without having massive PNG filesize? Gif doesn't seem to work, and I don't want to drop a massive filesize on /board and get lynched. I can get no lower than 743k where gif would be 40k but the background borks. :(
(, Mon 10 May 2010, 21:48, archived)
# Upload it somewhere and we can take a look?
(, Mon 10 May 2010, 21:49, archived)
# Cheers.
Rather spoils the intended effect popping it on here but I'll never learn otherwise. This is the .gif
(, Mon 10 May 2010, 21:53, archived)
# You didn't save it as an animation, or something, did you?
(, Mon 10 May 2010, 21:56, archived)
# Nope!
Peter Davidson got his elephant comp gif to about 15k! Grrr..
(, Mon 10 May 2010, 21:59, archived)
# whack the png file somewhere and I'll see if I can squish it under 100k for you
(, Mon 10 May 2010, 21:57, archived)
# Ta!
Hang on...
(, Mon 10 May 2010, 21:59, archived)
# GIF 128 No Dither
As transparency (removed the pure white) gets it to 21K.
tribs.uuuq.com/Loverkillertest2.gif
(, Mon 10 May 2010, 22:03, archived)
# ooh,
I just uploaded the PNG too!
Thanks! :) Now to test it! I won't start a new thread I think.
EDIT: Thanks all, still leaving white lines inbetween the colour changes and around the 'hidden' objects. I'll keep playing though. :)
(, Mon 10 May 2010, 22:09, archived)
# I dunno what stopped you gettign a transparent background in the gif.
In GIMP, I get caught out all the time by forgetting to add an alpha channel.
(, Mon 10 May 2010, 22:12, archived)
# a few options:
pngcrush is a somewhat fiddly to use command-line only png compressor that makes crazy small lossless files

if you use photoshop - the SuperPNG plugin makes reasonably small png files.

some other image editors/converters have compression features.

Generally though, png files are not all that small. So the next option is to reduce the resolution of the image.
(, Mon 10 May 2010, 21:51, archived)
# Hmm
Been looking at PNGcrush, and looks fiddly. I use Fireworks not photoshop (with a side of illustrator) as that's what I know, normally I .gif my images fine but want to play with things appearing/disappearing on the board.
(, Mon 10 May 2010, 21:56, archived)
# Ohhhhh, I see.
In which case I'm not being a whole lot of help. Sorry about that.
(, Mon 10 May 2010, 22:23, archived)
# IrfanView has a plugin for compressing PNGs
However it's not amazing. I saved your GIF as PNG with transparent background and it somes out as about 50k using the default settings, 18k with the PNGOUT plugin. I had a white background in IrfanView when I saved it.

http://www.b3tards.com/u/aa762463d2318a85319b/clipboard01.png
(, Mon 10 May 2010, 22:06, archived)
# If the semitransparent stuff is mainly in one area you could slice it in to multiple files.
Or go for a 8bit png / gif with a matte of a light grey midway between the board's post colours.

edit: If you like the sound of PNGcrush, there's also psydk.org/PngOptimizer.php . It's stand-alone (you don't need to install it).
(, Mon 10 May 2010, 21:58, archived)