• 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
Newbie ? - How to load JPEG image from file into window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie ? - How to load JPEG image from file into window


  • Subject: Newbie ? - How to load JPEG image from file into window
  • From: Lane Schwartz <email@hidden>
  • Date: Fri, 17 Aug 2001 20:23:51 -0500
  • Organization: The Realm of Dowobeha

I'm a Java/C++ coder just getting my feet wet in Cocoa. I'm trying to port my Java app (Your Dot Photos - an open source digital picture cataloging program) to Cocoa, primarily for a speed boost. I'm interested in trying it in both Obj-C Cocoa and Java Cocoa.

I would be grateful if anyone could point me to example code demonstrating (to a Cocoa beginner) how to:

1) Set up a window so that it can accept an imported image.
I know from reading through this list's archives that this probably involves NSImage &/or NSImageView. But how does one prepare a window to accept this?

2) Open a file-selection window, and select a file via this interface

3) Read in this selected file (specifically a JPEG, more specifically an EXIF)

4) Display this file in the window

Thank you in advance for your help to a newbie. Any info would be appreciated. Code samples especially appreciated.


  • Follow-Ups:
    • Re: Newbie ? - How to load JPEG image from file into window
      • From: Scott Anguish <email@hidden>
  • Prev by Date: Re: Easy Question: I just don't have the answer...
  • Next by Date: Speech Recognition in Cocoa and Carbon?
  • Previous by thread: Re: Easy Question: I just don't have the answer...
  • Next by thread: Re: Newbie ? - How to load JPEG image from file into window
  • Index(es):
    • Date
    • Thread