image download program

This is a discussion on image download program within the Windows Programming forums, part of the Platform Specific Boards category; i want to make a program to replace the camera and scanner wizard in win xp i want to program ...

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    3

    Question image download program

    i want to make a program to replace the camera and scanner wizard in win xp

    i want to program to scan in the filenames from a folder in a memery card; for each filename, display the picture (jpg 2048x1536)(fit to about 1/3 screen) give choices for where to copy the file, and then move it to a second folder on the card

    i have taken a class in programming in c and have only me text programs that run in a dos like window. i use Dev-C++ on Win XP Home

    i could probably figure out the choices and copying the file, but i don't know the best place to start to display to picture
    if someone could point me to a good totorial or to a program already made that appears to be close to this it would help

  2. #2
    Registered User
    Join Date
    Jun 2006
    Posts
    3
    i put my card into an adapter so the computer sees it as just another drive. i didn't think i would need any other drivers to access another drive.
    as an addition to my original post, i would like to be able to add a comment to the jpg exif data. how hard would that be?

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,333
    > i put my card into an adapter so the computer sees it as just another drive
    http://faq.cprogramming.com/cgi-bin/...&id=1044780608

    > i would like to be able to add a comment to the jpg exif data. how hard would that be?
    Do you intend to decode jpg yourself, or would you prefer a library to do all the work for you?

    Moved to windows board.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Registered User
    Join Date
    Jun 2006
    Posts
    3
    [/QUOTE]

    > i would like to be able to add a comment to the jpg exif data. how hard would that be?
    Do you intend to decode jpg yourself, or would you prefer a library to do all the work for you?

    [/QUOTE]
    i have no experience decoding jpg's. they will be straight from a camera. i won't be doing any editing in this program, i just want a bigger preview than the scanner and camera wizard offers

    how much work would it be to use either method

  5. #5
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,853
    The 'search' function is your friend...

    Run a search on the windows board ie 'jpeg'.

    Plenty of examples and links have been posted. You should be able to find what you need to open and display an image from a jpeg file.

    You will need to get the user to select a folder (code posted for that as well, SHBrowseFolder() I think).

    Put all the images in a list / combobox (again code posted, try FindFirstFile() )

    When the user selects an image you will need to load and display it.

    Then its just setting the client area of your window to the same size as the image with AdjustWindowRect(). Or StretchBlt() the image to the size you want.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,333
    > how much work would it be to use either method
    Who the hell knows.
    I've got a rough idea how hard it would be for me, but you're an unknown until you start posting some code.

    Sure, I figure if you search the web enough, you'll find enough lego bricks which do all the really hard work and all you need do is plug them together in a rather simple controlling program and claim success.

    Or you could buckle down, do some of the hard work yourself and really learn something in the process.

    It's your call.

    Personally, since you're only just out of the simple console programming stage, I think you're way out of your depth on this one.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  7. #7
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    GDI+ will probably be your best friend with this project.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem reading tiff image files?
    By compz in forum C++ Programming
    Replies: 9
    Last Post: 10-30-2009, 04:17 AM
  2. Help required in image filling program.
    By co123ol in forum C Programming
    Replies: 1
    Last Post: 03-04-2008, 01:42 PM
  3. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 10:17 PM
  4. Need help with my program...
    By Noah in forum C Programming
    Replies: 2
    Last Post: 03-11-2006, 06:49 PM
  5. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21