Hi,
The property ImageXRes and ImageYRes on TImageControl control is not updating the tags when accessing the image data using hImageData. When I've add this line lImageMan.SaveAs('c:\temp\t5.tif') before lHWNDImg := lImageMan.hImageData than the Image resolution has been correctly updated.
lImageMan.ImageXRes := 200;
lImageMan.ImageYRes := 100;
lImageMan.MemoryFormat := 'TIF';
lHWNDImg := lImageMan.hImageData;
lTIFImageSize := lImageMan.ImageDataSize;
Is it a known bug? If so, could you advice how to fix this bug please.
Regards,
Tom