• 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
NSImage from a url
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSImage from a url


  • Subject: NSImage from a url
  • From: Graham <email@hidden>
  • Date: Mon, 25 Apr 2005 13:13:37 -0400

Hi,

I creating NSImage instances from urls.
Mostly there is no problem, but for some images, the resulting NSImage size is smaller than the image at the url location. This is easily verified by entering the url in a browser and looking at the image.
This image: http://photos7.flickr.com/10756720_fe91e8456a.jpg is 500 pixels wide when you view it in the browser, but when I create an NSImage from it, the NSImage is only 180 pixels wide. Using the exact same code most images come out the correct size, such as this one: http://photos7.flickr.com/10424399_6f73976e6e.jpg which is 500 wide and creates an NSImage 500 wide.
I am using the Java API's by the way.


Any ideas?

Thanks

Graham

_______________________________________________
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


  • Follow-Ups:
    • Re: NSImage from a url
      • From: Nicko van Someren <email@hidden>
    • Re: NSImage from a url
      • From: stephane sudre <email@hidden>
  • Prev by Date: Re: NSColor question
  • Next by Date: Re: NSImage from a url
  • Previous by thread: Re: How do you call a method of a super view?
  • Next by thread: Re: NSImage from a url
  • Index(es):
    • Date
    • Thread