• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: original image size is not retained when it is exported as PDF using CGImageDestinationRef
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: original image size is not retained when it is exported as PDF using CGImageDestinationRef


  • Subject: Re: original image size is not retained when it is exported as PDF using CGImageDestinationRef
  • From: Deepa <email@hidden>
  • Date: Tue, 01 Mar 2011 09:59:50 +0530
  • "x-copyrighted-material: http://www.robosoftin.com"

Hi David,

Thank you for the response.

On 01-Mar-2011, at 2:47 AM, David Duncan wrote:

>
> On Feb 25, 2011, at 4:16 AM, Deepa wrote:
>
>> Please correct if I am posting to wrong mailing list.
>
> In general for CG functions, the CoreGraphics-Dev list is a better choice.

The CoreGraphics-Dev is not getting listed under Apple Mailing lists. Could you please mention the steps to register to this category of Apple Mailing list?

>
>> I am developing a Desktop application that supports exporting an PNG image to different image formats.
>> When I export my PNG to (Refer the first link) to PDF format, it appears as shown in link2.
>>
>> http://www.flickr.com/photos/36018837@N05/5472635835/ (Original Image)
>> http://www.flickr.com/photos/36018837@N05/5473232908/ (Exported Image)
>
> In general, you should use a service that allows you to post the actual files involved, as flickr appears to be making it rather difficult to obtain the originals (and I'm not certain if I could obtain a PDF for the exported image or not).
>
>> The image has become larger.
>
>
> My first guess would be that the source image has a DPI > 72, which would cause its display size to be smaller than that of the PDF. Barring that,

> ImageIO's PDF export may just be to make the image a size that fits the page.

I think the problem might be due to that ImageIO's PDF export may just be to make the image a size that fits the page.

>
> I would recommend that rather than allowing ImageIO to export to PDF that you use the CG APIs to generate PDF data yourself, where you can have control over the process.

As you said, I might have to try this out.

> --
> David Duncan
>


Regards,
Deepa
-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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:

This email sent to email@hidden

References: 
 >original image size is not retained when it is exported as PDF using CGImageDestinationRef (From: Deepa <email@hidden>)
 >Re: original image size is not retained when it is exported as PDF using CGImageDestinationRef (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Function to get current Backtrace and Address Slide
  • Next by Date: Conditionally adding NSButtonCell to a column of NSTableview and allowing button cell to take action even if the corresponding row is not allowed to be selected
  • Previous by thread: Re: original image size is not retained when it is exported as PDF using CGImageDestinationRef
  • Next by thread: NSRuler and non linear measurements
  • Index(es):
    • Date
    • Thread