help-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with image size


From: Nicolas Sanchez
Subject: Problem with image size
Date: Tue, 30 Nov 2004 13:10:08 +0100
User-agent: Mozilla Thunderbird 0.8 (X11/20040926)

Hello,

My problem is very simple, but I have no simple solution.

I load a big image, I resizes it but no memory is freed.

I do this :

NSImage *img = [[NSImage alloc] initWithContentsOfFile: @"monImage.jpg"];
[img setScalesWhenResized: YES];
[img setSize: NSMakeSize(100, 100)];

Here the memory is not freed, somebody has a solution ?

Thanks.

Nicolas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]