Mailing Lists: Apple Mailing Lists

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

Size of exported image (was Re: Poster frame export to image)



> Something along these lines:
> 
> ci=OpenDefaultComponent( GraphicsExporterComponentType, 'jpeg' );
> GraphicsExportSetInputPicture( ci,  PicHandle  picture);
> GraphicsExportSetOutputDataReference( ci,  dataRef, dataRefType);
> GraphicsExportDoExport( ci, actualSizeWritten);
> 

Jan, 

Thanks for the steps. They worked beautifully for exporting the poster
frame to a still-image. 

I am now trying to control the size(w x h) of the exported image, and its
quality. For quality, I see the GraphicsExportSetCompressionQuality()
function in ImageCompression.h, how do I go about changing the size of the
image? 

The ImageDescription structure seems to controls some of these settings,
but it is not clear how my JPEG/PNG exporter will pick them up.

Regards,
Siddharth



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/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.