You Are Here:

Community: Developer Discussion Boards

#1 Old 4bit png with transparency - 2004-06-08, 16:13

Join Date: Aug 2003
Posts: 232
Location: uk
Send a message via ICQ to alex_crowther
alex_crowther's Avatar
alex_crowther
Offline
Regular Contributor
Can someone suggest a editor that can save/export 4bit png's with the single colour transparency colour replacement.

Infact, can someone post instructions on howto create and save one of these images in said editor as well.

I currently have a test 4bit png with transparency, but whenever I load/save it in photoshop 7 it becomes 8bit and loses the transparency, and debabelizerpro is saving to 4bit but striping transparency info.

Alex
Reply With Quote

#2 Old 2004-06-08, 16:43

Join Date: Mar 2003
Posts: 2,280
Location: Israel
shmoove
Offline
Forum Nokia Champion
In Paint Shop Pro 7 you go to Colors->Set Transparency and then you get a couple of dialogs. Press OK on the first one. If the image is palletized (like a 4 bit image will be), then you can select one of the colors from the pallete as the transparent color, either by entering it's pallete index or just click the color on the image.

shmoove
Reply With Quote

#3 Old gimp - 2004-06-09, 02:28

Join Date: Aug 2003
Posts: 232
Location: uk
Send a message via ICQ to alex_crowther
alex_crowther's Avatar
alex_crowther
Offline
Regular Contributor
Not an insult incase you were wandering :)

Just found out that GIMP (the unix/linux image editor, now with windows ports in the form of gimp-2.0.1-setup.exe and the required gtk+-2.2.4-20040124-setup.exe) supports png completely.

Once you have installed gtk+ and then gimp, load your image:

image -> mode -> indexed ..

Choose Generate Optimum Palette: max Number of Colours: 16 for 4bit with transparency (or 2 for black and white with transparency)

Choose any difhering.

Enable Dithering of Transparency (you must do this or the alpha is lost and not converted to a transparency palette colour)

Click ok, and save.

Also if you are using photoshop, just load and save your 8bit images (ones without transparency) and gimp will make you a smaller png for 8bit too.

All good stuff !!!
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia