Thread: Find (width/height) attibute of image using _find operation

  1. #1
    Registered User
    Join Date
    Jun 2002

    Find (width/height) attibute of image using _find operation


    Is the a way to use the find operations at

    to determine the width and height of an image. I have a series of .tiff files and I would like to determine the average width and height of each.

    If you do a right click on each image you can find the width and height of each image. Can this be extracted in C++ somehow?

  2. #2
    Code Monkey Davros's Avatar
    Join Date
    Jun 2002
    You will need to read this information from the file itself.

    The TIFF format is proprietry to Aldus, so we you need to know to decode it. There will not be any standard win api function for this.

    Either research & figure out the TIFF format yourself, or get hold an image processing toolkit.

    Here's one I use:
    OS: Windows XP
    Compilers: MinGW (Code::Blocks), BCB 5

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. Reading color tiff images?
    By compz in forum Game Programming
    Replies: 1
    Last Post: 11-21-2003, 12:48 AM
  3. How to find the coords of an image map?
    By Geo-Fry in forum Tech Board
    Replies: 3
    Last Post: 09-08-2003, 05:54 PM
  4. Replies: 4
    Last Post: 03-02-2003, 09:12 AM
  5. How to change a mouse cursor in console mode
    By GaPe in forum Windows Programming
    Replies: 10
    Last Post: 07-03-2002, 07:42 AM