Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Graphics    [ Add a report in this area ]  
Report #:  103264   Status: Closed
Saving a TWICImage as tiff creates black images on Win 64-bit platform
Project:  Delphi Build #:  16.0.4358.4554
Version:    16.3 Submitted By:   Marc Stehlin
Report Type:  Basic functionality failure Date Reported:  2/8/2012 7:26:10 AM
Severity:    Critical / Show Stopper Last Updated: 9/5/2012 8:01:01 PM
Platform:    All versions Internal Tracking #:   289858
Resolution: Fixed (Resolution Comments) Resolved in Build: : 17.0.4625.53395
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
On my machine Win7 6.1(Build 7601: Service Pack 1), changing the image format of a TWICImage does not produce the same result whether you execute on 32-bit or on 64-bit platform. On 32-bit, the image is converted in tif format. On 64-bit, it produces a black image.

If you don't change the format (e.g. open a tiff file in a TWICImage and save it as tiff too), it works as expected on both platforms.

Steps to Reproduce:
1. Create a TWICImage
2. Assign a TBitmap to it
3. Set the file format to wifTiff
4. Save the WICImage

Executing the attached project, when you click the button, it will read the bitmap file "ImgRead.bmp" and create the tif file "ImgSaved.tif". I attached the resulting images too.
Workarounds
None
Attachment
WriteTiff.zip
Comments

None

Server Response from: ETNACODE01