zoom question

2010-06-11 Thread jyoung79
Hello, I'm working on a droplet where a user can drop an eps image and zoom in on it. I'm running it in Leopard 10.5.8. It's working decently, but when I zoom it looks all pixelated. From experimenting, I found that if I add this code to the - (void)zoomIn:(id)sender function it makes it

IKImageView Question

2010-05-24 Thread jyoung79
I've been trying a few tests with IKImageView to view an EPS file with zooming capabilities. Some code that Apple provides works well... however I'm getting a warning - warning: 'IKImageView' may not respond to '-setImage:'. Instead of using the NSURL (which doesn't seem to work with EPS

RE:EPS image in NSScrollView

2010-05-20 Thread jyoung79
I'm getting a little closer to figuring this out, but hope that someone can give me a little more info. I found some Apple documentation that shows how to programatically create an image in a scrollview. Below, I've included the code when the app starts up. I'd like to have the imageRect the

RE:EPS image in NSScrollView

2010-05-20 Thread jyoung79
One other quick question. What I'm really trying to achieve is something similar to how the pdfkit works. I like how the image/text enlarges within the scrollview when the window is resized. The code is pretty simple as well: [pdfView setDocument:[[[PDFDocument alloc] initWithData:[fileMan

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 window and when the

Automating Photoshop CS4?

2010-03-23 Thread jyoung79
Just curious if there's any way to automate Adobe Photoshop CS4 with Cocoa/Objective-C? I'm new to this language. I know I can call NSAppleScript, but was just curious if there's another way to control the application? Thanks. Jay ___ Cocoa-dev