Go Back   CodingForums.com > :: Client side development > Graphics and Multimedia discussions

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-15-2010, 01:01 AM   PM User | #1
truespace
New to the CF scene

 
Join Date: May 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
truespace is an unknown quantity at this point
.ico formatting question

I've been looking at the documentation and fiddling with ico files, but I can't quite seem to get a grasp on something...

I have an ico file stored as a base64 data uri in a web page. If i replace quad info using javascript I can dynamically change the color.
**Anyone already have an implementation of this I could look at?**

BUT, it seems I can't quite get all colors in the rgb scale predicdably. For example. If I save a 4x4 ico file that is a pure 0,0,255 blue you would expect each pixel to reflect a version of that info(a 255 and two 0's in some order). Instead, every third pixel becomes 240,15,0? I can find information about the header info ect, but no insights into this phenomenon. Any tips would be great.
truespace is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:06 AM.


Advertisement
Log in to turn off these ads.