Loc: Lancaster PA USA
It would be nice to know whether 24 bit PNGs are acceptable for use within this forum's framework. That way, should I or anyone else offer images for use here they will have a consistent look no matter which theme a user selects—from ones available now, or along with any that may be made available in the future.
I understand that the default coding might be optimized for GIF-formatted images, but there really is no good reason to dismiss the far more aesthetically versatile 24-bit PNG format.
If code needs to be tweaked to allow PNGs it should be a one-time thing, AFAIK. Some images here may need to be converted as well, and I'd bet that between the image jockeys that hang out here we could be coaxed to make short order of any work that would need to be done in that regard.
Loc: Louisville, KY
Interesting. Of course this is handled at the Neil level .
What is the difference between PNG and JPG as far as this software goes?
I haven't ever used PNG before, in fact only when Imagewell came out did I even hear about it. Still don't use it though. And isn't 24bit awful big? I don't know, I'm just going by NEF files (Nikon RAW files) that are now 14 bit if you want them.
And finally, why? Why not use JPEG? Or GIF? Just wondering.
Thanks. and I post this as a user, not a moderator.
Loc: Lancaster PA USA
JPG has no facility for transparency. If any shape other than a rectangle is desired, there will always be a BG color in the space surrounding that shape, extending out to the rectangular area that defines the W & H of the icon image. That means if the icon is used on a background other than that for which it is created, the BG of the oddly shaped JPG icon will show.
GIF format has a transparency attribute, but it's 1 bit—either FULLY transparent, or FULLY opaque. If a non-rectangular GIF image is properly created to sit on a white BG, and it sits on a colored BG, you're going to see an ugly fringing of white around the icon.
PNG24 allows for all the subtle color gradience of JPEGs, and the transparency attribute also ranges though 8-bits/255256 levels. So a PNG24 icon that has transparency can be repurposed to look perfect over ANY background color.
Because icons are small, and generally cached by most users, the file size is of only minor consideration. With proper care and attention to how they're created a PNG24 icon and a GIF icon can look identical, with insignificant file size differences.
Does this make sense, or would you like a visual, annotated comparison.
Or would you like to simply trust that I'm speaking factually?
Edited by Phosphor (11/14/0809:51 PM) Edit Reason: accuracy
_________________________ "We writhe with the best of them."
Xplain's use of MacNews, AppleCentral and AppleExpo are not affiliated with Apple, Inc. MacTech is a registered trademark of Xplain Corporation. AppleCentral, MacNews, Xplain, "The journal of Apple technology", Apple Expo, Explain It, MacDev, MacDev-1, THINK Reference, NetProfessional, MacTech Central, MacTech Domains, MacForge, and the MacTutorMan are trademarks or service marks of Xplain Corp. Sprocket is a registered trademark of eSprocket Corp. Other trademarks and copyrights appearing in this printing or software remain the property of their respective holders.
All contents are Copyright 1984-2010 by Xplain Corporation. All rights reserved. Theme designed by Icreon.