| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2008.01.24 12:14 "Re: Change single pixels in a tiled Tiff-image", by Andrey KiselevOn Wed, Jan 23, 2008 at 09:18:06PM +0100, Timur Ametov wrote: > I have another question. Can (or how can) I change single pixels in a > tiled TIFF-Image. > > I have only one idea how can I do this: > 1. read a tile, where the pixel is, into buffer > 2. change the pixel > 3. rewrite tile > > but maybe there are another solutions? In case of uncompressed tile you can try to overwrite the pixel yourself using TileOffsets table to get the data disk layout. But do not forget that the tile can be compressed and you need to decompress it to get access to individual pixels. Best regards, Andrey -- Andrey V. Kiselev ICQ# 26871517 |
|||||||