Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nsimage and nsimagereps



I need a small nsimage (16x16 pixels) that can be transmitted across
the internet as quickly as possible. what would be the best way of
doing this? Right now I am using TIFFRepresentationUsingCompression on
the image to get the nsdata and then getting the bytes of the nsdata
into a buffer and sending it, and then reversing it to re-create the
image. would using another representation (nsbitmapimagerep was what i
was thinking) cut down on the image's size? how would I go from nsimage
-> nsimagerep -> nsdata and vice versa?

thank you
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.