tracker issue : CF-4204075

select a category, or use search below
(searches all categories and all time range)
Title:

Coldfusion 2018 CFIMAGE: Write an image to a file from Base64 string is not working.

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Arwin V. / ()

Created: 03/07/2019

Components: CFIMAGE

Versions: 2016,11.0,2018

Failure Type: Data Corruption

Found In Build/Fixed In Build: 5.1.4 (Build 0001) /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Win 2016

Vote Count: 3

Problem Description:
Coldfusion 2018 CFIMAGE: Write an image to a file from Base64 string is creating black/blank image.

Steps to Reproduce:
See sample code below. 

<cfset myimage = "iVBORw0KGgoAAAANSUhEUgAAARIAAAB8CAYAAAClvj+9AAAJZUlEQVR4Xu2dZ6h1RxWGn6ixR7HFXtDYC6goakxQkIANe0NiQf2j2AvYEwuKoGL9oSAmFhJFI7YIotijKCj2Lhp/qNgVg1h5cV/d7m/fc/Y+a597yn4Gvh/fPTNr1jyz7nvP3jOz5jgsEpCABIoEjiu2t/nuETgVOB+4LPBy4AW7NwQ93jYCCsm2zch6/DkeeDzw5h7z1wMuXE+3Wp0LAYVk/2f6AcD7FwzztsDX9h+DI1wnAYVknXQ3a/vSwFeAWy5xwxjY7DztRe8G0V5M4/8N4uLAmcDzBwztcsBfBtSzigQWElBI9itAbg98Dsi3kUXl60Beuv5hv4bvaDZFQCHZFPnp+30t8DjghCWm3wY8Efjr9C5oca4EFJLdn/lHAWf1DOMfQB5z2uUi4IrA33Z/2I5gmwgoJNs0G8N9ybw9EnhHT5O3AHcHbtzz2SUVkeGQrTmcgEIynNW21IxIfPIQZ/Le4y7AK3s+vyHwk20ZhH7sFwGFZHfm80TgS8ANelw+Dfg4cDPgOz2fu1dkd+Z5Jz1VSLZ/2i4GPAQ4p8fVbG/PNveU1Mt7kW7Jt5TPbv8w9XCXCSgk2z17lwLe1KzGtD19HfDMjnCcAby4M5yHA+du9xD1bh8IKCTbO4snN2djbtNy8WPAw4A/dty+KfD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AYAxKQQJmAQlJGqAEJSEAhMQYkIIEyAYWkjFADEpCAQmIMSEACZQIKSRmhBiQgAYXEGJCABMoEFJIyQg1IQAIKiTEgAQmUCSgkZYQakIAEFBJjQAISKBNQSMoINSABCSgkxoAEJFAmoJCUEWpAAhJQSIwBCUigTEAhKSPUgAQkoJAYAxKQQJmAQlJGqAEJSEAhMQYkIIEyAYWkjFADEpCAQmIMSEACZQIKSRmhBiQgAYXEGJCABMoEFJIyQg1IQAIKiTEgAQmUCSgkZYQakIAEFBJjQAISKBNQSMoINSABCSgkxoAEJFAmoJCUEWpAAhJQSIwBCUigTEAhKSPUgAQkoJAYAxKQQJmAQlJGqAEJSEAhMQYkIIEygX8DUC/UfScBFxwAAAAASUVORK5CYII=">
<cfset image64 = imageReadBase64(myimage)>

<cfimage source="#image64#" destination="testimage.png" action="write" format="png" isbase64="yes">

Actual Result:
Black image

Expected Result:
Sign image

Any Workarounds:
No workarounds in CF2018. 
It is working in CF11.

Attachments:

Comments:

CF 2016 Update 7 is working fine, but after applying Update 9 or 10, the black image described above is observed. This is a showstopper.
Comment by Michael C.
30447 | March 07, 2019 09:45:47 PM GMT
Marked as duplicate as CF-4204071 already logged regarding the same issue
Comment by Manas M.
30450 | March 08, 2019 07:54:00 AM GMT
Hello, I went into bug https://tracker.adobe.com/#/view/CF-4204071 to check status and it says "No issue found". How can we get the fix? Thanks, Arwin
Comment by Arwin V.
30455 | March 08, 2019 04:16:28 PM GMT
Seriously, where is the duplicate issue? Please reopen this one if the duplicate has disappeared.
Comment by Michael C.
30456 | March 08, 2019 05:09:55 PM GMT
Hi Manas, CF-4204071 doesn't seem to exist in the bug database. Please could you provide the correct duplicate number, or if none exists, please reopen this issue. We cannot update past CF2016 Update 7 until this is resolved.
Comment by Michael C.
30466 | March 11, 2019 06:03:17 PM GMT
I'm having the same issue in CF 11 Update 18. I'm also unable to find CF-4204071.
Comment by Samuel E.
30558 | March 21, 2019 11:32:55 PM GMT
Hi Adobe people, This issue is preventing us (and many others I would imagine) from updating CF2016 above Update 7. Please could you either reopen this issue, or provide us with a valid duplicate issue ID? Many thanks.
Comment by Michael C.
30596 | April 01, 2019 04:07:50 PM GMT
This issue broke our production application when we updated CF 2016 this weekend.
Comment by Charles M.
30783 | May 20, 2019 08:09:23 PM GMT
Hi Arwin, Samuel and Charles, I'm going to open another issue with the same description, because it would appear Adobe are ignoring this thread. I'll post the new issue number in here when it's done. Cheers, Mike.
Comment by Michael C.
30784 | May 20, 2019 08:15:59 PM GMT
Hi Guys, The new issue is CF-4204398. Please go and add comments/votes there to see if we can finally get this issue resolved. Cheers, Mike.
Comment by Michael C.
30785 | May 20, 2019 08:31:35 PM GMT
I believe this may be the source of this issue. They note in the Stack overflow article that there is a fix available if you reach out to adobe via email. I am doing so. https://tracker.adobe.com/#/view/CF-4204284 https://stackoverflow.com/questions/55201337/saving-jsignature-image-no-longer-transparent
Comment by Charles M.
30800 | May 21, 2019 01:00:36 PM GMT
The original bug CF-4204071 is made external now. Marking this bug as duplicate. The fix will be merged in the next bug-fix hotfix release.  In case you need the patch urgently, you can reach out to support on cf.install@adobe.com . Nitin
Comment by Nitin K.
30819 | May 24, 2019 05:22:24 AM GMT
Adobe has released an update. The fix looks good. See https://helpx.adobe.com/coldfusion/kb/bugs-fixed-coldfusion-2018-update-4.html#bugsfixed for details.
Comment by Arwin V.
31013 | July 10, 2019 07:40:14 PM GMT