Mailing Lists: Apple Mailing Lists

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

Re: PictHandle between Intel and PPC



On Jun 11, 2006, at 12:57 PM, Mark Gilbert wrote:

My app sends a PicHandle data block from one mac to another via TCP/ IP (Base64 encoded for the transit).

Question is, if the first mac is an Intel and it creates the PicHandle, will it still work as a PicHandle when it gets to a PPC mac via TCP/IP ??

Base64 encoding is working with a buffer of bytes, so you should have exactly the same endianness issues as if you'd just read a PICT resource from a local resource or picture file.


Are there other picture data structures which would be better ?

That probably depends on your particular situation. If you'd rather get away from QuickDraw-oriented formats, and it makes sense for you to use some other graphics format, then think about making the change.


steve


_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >PictHandle between Intel and PPC (From: Mark Gilbert <email@hidden>)



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.