Cocoa : Scale Image dragged into an ImageWell

Posted by Holli on Stack Overflow See other posts from Stack Overflow or by Holli
Published on 2010-05-04T15:05:10Z Indexed on 2010/05/04 15:08 UTC
Read the original article Hit count: 310

Filed under:
|
|
|
|

I am working on application to keep a comic book collection in order. The user should be able to drag an image of the cover artwork into the program via an ImageWell.

Since it is not possible to drag the image out of the application again I don't need to save the picture in it's original size. An image at the size of the ImageWell would be just fine.

The question is how do I rescale the image with my application?

To make things even more complicated the ImageWell is bound with Core Data. So I need to rescale the image before Core Data will save the picture in its original size.

© Stack Overflow or respective owner

Related posts about image

Related posts about rescale