Чтение/запись битов в Tiff-файле

  • Автор темы apomin
  • Дата начала
A

apomin

Гость
#1
Нужно читать/записывать tiff-файлы в программе на Visual C++ 6.0
Например, проверять и изменять состояние точек с заданными координатами.
Как это можно сделать?
 
U

uis99

Гость
#2
Класс Image, из WinAPI:
/////////////////////////////////////////

Image::Image Constructor

--------------------------------------------------------------------------------

Creates an Image object based on a file.

Syntax

Image( const WCHAR *filename,
BOOL useEmbeddedColorManagement
);


Parameters

filename
[in] Pointer to a wide-character string that specifies the name of the file.
useEmbeddedColorManagement
[in] Optional. Boolean value that specifies whether the new Image object applies color correction according to color management information that is embedded in the image file. Embedded information can include International Color Consortium (ICC) profiles, gamma values, and chromaticity information.
FALSE
Default. Specifies that color correction is enabled
TRUE
Specifies that color correction is not enabled
Return Value

No return value.
Remarks

You can construct Image objects based on files of a variety of types including BMP, Graphics Interchange Format (GIF), JPEG, PNG, TIFF, and EMF.

Constructor Information

Stock Implementation gdiplus.dll
Header Declared in Gdiplusheaders.h, include gdiplus.h
Import library gdiplus.lib
Minimum availability GDI+ 1.0
Minimum operating systems Windows 98/Me, Windows XP, Windows 2000, Windows NT 4.0 SP6

See Also

Bitmap, Image::Clone, Image::FromFile, Image::FromStream, Image Constructors, Loading and Displaying Bitmaps, Drawing, Positioning, and Cloning Images

--------------------------------------------------------------------------------

© 2005 Microsoft Corporation. All rights reserved.