Get Url Images with more than 72dpi
Get Url Images with more than 72dpi
- Subject: Get Url Images with more than 72dpi
- From: email@hidden
- Date: Wed, 9 Nov 2005 11:15:28 +0100
I'm trying to get images from an url, with more than 72dpi and
mantaining their sizes and their dpi.
I used some code found in Cocoa Mailing List, but It doesn't work.
// ------------------------------------------------------------------
NSURL *url = [NSURL URLWithString:stringURLOfHiRezImage];
NSBitmapImageRep *imageRep = [[NSBitmapImageRep alloc]
initWithData: [url resourceDataUsingCache:YES]];
NSImage *image = [[NSImage alloc] initWithSize:[imageRep size]];
[image addRepresentation:imageRep];
// ------------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden