Mailing Lists: Apple Mailing Lists

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

saving jpg's in pdfs



Apple provide nice and easy apis to take a view/image and save it as a pdf. As most everyone knows the resulting file size is huge compared to a jpg. I realize the reason for this is that there is little or no compression allowed and that a pdf is a pdf and a jpg is a jpg. However, it is my understanding that a jpg can be embedded into a pdf along with Quicktime movies, gifs, and other less trivial things found in the basement ect..... this embedding is completely normal in the pdf specs.

Does anyone have an idea in code how can this be done with Cocoa. I have looked at the pdf specs and the huge 1400 page format manual Adobe supplies. I would rather spend the time reading manuals on core data. Does anyone know if there are any apis where you can tell a view that what ever composes the view in creating a pdf of the view, to use and embed the components comprising the view......or even better, telling the apis to save a view as pdf, to compress it as a jpg and embed the jpg in the pdf. There is a 10 fold savings in file space saved when doing this.



Jim

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-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.