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

This is a discussion on Find (width/height) attibute of image using _find operation within the C++ Programming forums, part of the General Programming Boards category; hello, Is the a way to use the find operations at http://msdn.microsoft.com/library/en...asp?frame=true to determine the width and height of an ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    59

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

    hello,

    Is the a way to use the find operations at
    http://msdn.microsoft.com/library/en...asp?frame=true

    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
    Posts
    812
    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:

    www.hicomponents.com
    OS: Windows XP
    Compilers: MinGW (Code::Blocks), BCB 5

    BigAngryDog.com

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-20-2003, 11:48 PM
  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, 08: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

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