• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Get Url Images with more than 72dpi
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: (no subject)
  • Next by Date: Custom Attributes
  • Previous by thread: (no subject)
  • Next by thread: Custom Attributes
  • Index(es):
    • Date
    • Thread