FROM : Bill So
DATE : Thu Aug 03 04:32:44 2006
Need to call setScalesWhenResized: before calling setSize: of NSImage
in order to have the image resized properly
On 8/2/06, Stephane Sudre <<email_removed>> wrote:
>
>
> NSImageRep * thisIsAImageRep=[[myImageWhichIsNoySeventyTwoDPI
> representations] objectAtIndex:0];
>
> [thisIsAImageRep pixelsHigh];
>
> [thisIsAImageRep pixelsWide];
>
DATE : Thu Aug 03 04:32:44 2006
Need to call setScalesWhenResized: before calling setSize: of NSImage
in order to have the image resized properly
On 8/2/06, Stephane Sudre <<email_removed>> wrote:
>
>
> NSImageRep * thisIsAImageRep=[[myImageWhichIsNoySeventyTwoDPI
> representations] objectAtIndex:0];
>
> [thisIsAImageRep pixelsHigh];
>
> [thisIsAImageRep pixelsWide];
>
| Related mails | Author | Date |
|---|---|---|
| Bill So | Aug 1, 19:08 | |
| Stephane Sudre | Aug 1, 19:21 | |
| Bill So | Aug 3, 04:32 |






Cocoa mail archive

