Thread: Displaying an Image

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    2

    Question Displaying an Image

    Hello all,

    I'm trying to work on a little project, but need to do a couple of things that I don't know how to do. If anybody could set me on the right path I would appreciate it. I need to display an image on the screen first off. Then I need to have the user click on a couple of points and have some sort of symbol that makes it clear where they clicked. Lastly the user needs to be able to click and drag a visible rectangle over an area of the image.

    Sorry if this is a stupid question, but it would be great if you could give me a hand. I've just never done anything with a gui before. Oh and by the way, I'll be using codex to compile.

    Thanks
    Evan

  2. #2
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    More details.

    What is your OS
    What in the world is codex
    What is this 'image'

    Anything else that would help us help you is good.

  3. #3
    Registered User
    Join Date
    Jul 2006
    Posts
    2
    The operating system is OS X. CodeX is a sort of development suite for it. I'm more used to Linux, but I'm working in a lab and it is the only option I have. By image I mean a picture. Most of the work in this program is actually going to be done in MatLab I just need the user to point out a few things about the image first. Thanks.

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Isn't it X Code?

    Try searching google.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Displaying an Image with C++
    By mmarab in forum C++ Programming
    Replies: 8
    Last Post: 04-08-2011, 02:30 PM
  2. Problem reading tiff image files?
    By compz in forum C++ Programming
    Replies: 9
    Last Post: 10-30-2009, 04:17 AM
  3. Loading & displaying an image
    By csonx_p in forum Windows Programming
    Replies: 1
    Last Post: 06-19-2008, 06:40 AM
  4. Button Displaying Image
    By mrafcho001 in forum Windows Programming
    Replies: 4
    Last Post: 12-03-2005, 02:14 PM
  5. Displaying a PNG image
    By grep in forum Windows Programming
    Replies: 5
    Last Post: 07-07-2005, 08:27 PM