simple as well:
>
> [pdfView setDocument:[[[PDFDocument alloc] initWithData:[fileMan
> contentsAtPath:filePath]] autorelease]];
> [theBox setContentView:pdfView];
>
> Is it possible to take an eps image and convert it to a pdf file so I can
> view it through the pdfki
Hoping someone can steer me in the right direction. I'm not very good with
Objective-C, but I'm trying to view an EPS image within a scroll window. When
making the window bigger, I'd like the EPS to enlarge. For example, I'd like
the width of the EPS to show in the scroll
point of view. If an image rep doesn't have a 'home'
colorspace, calibrated RGB is the default.
EPS on Mac OS X is handled by converting the data to PDF. The
interface NSEPSImageRep uses is documented here:
<http://developer.apple.com/documentation/GraphicsImaging/Reference/CGPSC
Hi
If you open an eps image in a text editor like BBEdit, you can see
clearly what color space it was saved as but when you create an
NSImage from the file and call [image representations] or [image
bestRepresentationForDevice: ] all you get
are images with "NSCalibratedRGBColor
oreleasePool *pool = [[NSAutoreleasePool alloc] init];
// create a custom view of the desired size
CustomView *view = [[CustomView alloc] initWithFrame: NSMakeRect(0,
0, 40, 40)];
// extract an EPS image rep from it
NSEPSImageRep *epsRep = [view epsImage
On 11 Sep 2008, at 1:13 am, Georg Seifert wrote:
hello,
is there a way to create EPS data from code? I need it to put in in
pastboard. Does anyone can point my to some docs as I cant find any.
What I want to do, is to copy a NSBezierPath to Illustrator and back.
does [NSView
On 11 Sep 2008, at 1:13 am, Georg Seifert wrote:
hello,
is there a way to create EPS data from code? I need it to put in in
pastboard. Does anyone can point my to some docs as I cant find any.
What I want to do, is to copy a NSBezierPath to Illustrator and back.
does [NSView
Georg Seifert wrote:
is there a way to create EPS data from code? I need it to put in in
pastboard. Does anyone can point my to some docs as I cant find any.
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaDrawingGuide
What I want to do, is to copy a NSBezierPath to
hello,
is there a way to create EPS data from code? I need it to put in in
pastboard. Does anyone can point my to some docs as I cant find any.
What I want to do, is to copy a NSBezierPath to Illustrator and back.
Thanks
Georg
___
Cocoa-dev