Mailing Lists: Apple Mailing Lists

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

QTNewGWorldFromPtr for large width images



Hi

I am using the OpenGL Image sample code to open a panorama image with dimensions 7000+
X 3000+ pixels. It leaves a big rectangle of black area on the top left area when displaying in
the window. I open the same image in qtgraphics QuickTime sample code and the image
displays fine in the window. Although the code used in both these sample code uses Graphic
Importer component to draw the only difference is that in the qtgraphics renders the image to
a window and the OpenGL image sample code renders the image to a GWorld created using
QTNewGWorldFromPtr.

Is there a difference between the GWorld created by QTNewGWorld and NewGWorld variants
and the one that is created for the window by NewCWindow? I realize that the rowBytes
parameter is a limiting factor of GWorld, but is there a way to work around this?

Thanks
prady

--
prady

 _______________________________________________
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



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.