Re: pdf data to graphic objects
Re: pdf data to graphic objects
- Subject: Re: pdf data to graphic objects
- From: Julien Guimont <email@hidden>
- Date: Mon, 15 Mar 2004 01:42:23 -0500
Hello,
Yes I have ideas on this one too;) For the modify part, I'm not sure
though. You can use Apple owns header (which are named CGPDF*.h, in
core graphic framework, or core foundation not sure ), you can use a
framework I ported from unix world which is using xPDF (it is GPL, if
you want to take a look tell me, you can have dev hints at
http://blog.blanchou.mine.nu). With both these options you can access
raw graphics data but cannot change it.
To change it, you should look at libpdf (another unix lib), which is
commercialy available or GPL, I'm not sure. If you look at this option,
you can do what ever you want with this (change every object). Also, if
it is working for you, I would be interested to take a look.
Thank you,
Julien
On 15-Mar-04, at 1:14 AM, Sven Hoffmann wrote:
thanks julien,
i am familiar with this part, but what i want is to read in pdf
graphics into an application as objects, so i can modify the objects
and by that change the graphics.
any ideas on this one also?
sven hoffmann
Am 14.03.2004 um 23:24 schrieb Julien Guimont:
Hello,
It pretty easy to do. Use a NSPDFImageRep initWithData initializer
and you are set. If you want to make a TIFF or JPEG from it, create
an NSImage lock focus on it and draw the pdf image rep.
Julien Guimont
http://blog.blanchou.mine.nu
On 14-Mar-04, at 4:09 PM, email@hidden wrote:
Date: Sun, 14 Mar 2004 22:26:56 +0200
From: Sven Hoffmann <email@hidden>
Subject: pdf data to graphic objects
To: email@hidden
hello!
does anyone have an idea how i could turn the pdf data from a pdf
graphics file into cocoa objects?
sven hoffmann
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.