Re: EPS image in NSScrollView

2010-05-20 Thread Adam R. Maxwell
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

EPS image in NSScrollView

2010-05-05 Thread jyoung79
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

Re: Color space for cmyk eps images converting to rgb

2008-12-22 Thread Ken Ferry
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

Color space for cmyk eps images converting to rgb

2008-12-21 Thread Ken Tozier
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

Re: EPS

2008-09-12 Thread has
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

Re: EPS

2008-09-10 Thread Georg Seifert
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

Re: EPS

2008-09-10 Thread Graham Cox
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

Re: EPS

2008-09-10 Thread has
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

EPS

2008-09-10 Thread Georg Seifert
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