• 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 and Photoshop jpegs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSImage and Photoshop jpegs


  • Subject: NSImage and Photoshop jpegs
  • From: Alesh Slovak <email@hidden>
  • Date: Thu, 20 Mar 2003 16:44:40 -0500

Hello,

I am developing a Cocoa app which needs to open jpeg files. It seems, however, that jpeg files created by Photoshop and then opened with initWithContentsOfFile have incorrect sizes.

For example I opened an image with a resolution of 1280 x 1920 but when I opened it the NSImage reported it as being only 288 x 432 pixels.

Is this desired behaviour? Does anyone know what is going on here? I haven't been able to figure it out. I tried saving multiple jpeg files using the different options in Photoshop, but this problem affected them all.

Is there any other way of getting the resolution of an image, other than from an NSImage instance?

Thanks in advance for any help,

Alesh Slovak
Macintosh Applications Developer
OpenGraphics
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSImage and Photoshop jpegs
      • From: Marcel Weiher <email@hidden>
    • Re: NSImage and Photoshop jpegs
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: NSRunLoop looping more than once?
  • Next by Date: Re: Extermly frustrating Problem: Feel extremly stupid, and the damn tutorials dont care.
  • Previous by thread: Re: convert dokuments to pdf!?
  • Next by thread: Re: NSImage and Photoshop jpegs
  • Index(es):
    • Date
    • Thread