Problem with image size
Nicolas Sanchez <[email protected]>
| Newsgroups | gmane.comp.lib.gnustep.user |
|---|---|
| Organization | Guest of Teaser |
| Message-ID | <[email protected]> |
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