tracker issue : CF-3701570

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

Error reading PNG image data - CFIMAGE

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/UserError

Reporter/Name(from Bugbase): Michael Thomas / Michael Thomas (miket03)

Created: 01/30/2014

Components: CFIMAGE

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final /

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 0

Problem Description:  I receive an error while reading a .png image, see attached.

Steps to Reproduce:  Created a screen capture using the Windows Snipping Tool larger than 500 x 500.  Uploaded the image to server for storage in database.  Write an application which imposes a size restriction of a width less than 500.  If the image is larger than 500, the application resizes it using the following code:
<cfimage action="resize" source="#imageStruct.source#" width="500" height="#l.height#" destination="#imageStruct.source#" overwrite="true" />.  Once the resizing is complete, the resultant image is stored in the database.  The error occurs when a application attempts to write the image back out using the following code:
<cfimage source="#image#" action="writeToBrowser" />

Actual Result:CFERROR

Expected Result:Write image to the browser.  This same routine works perfectly in CF 8.

Any Workarounds:None.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3701570

External Customer Info:
External Company:  
External Customer Name: miket03
External Customer Email:  
External Test Config: My Hardware and Environment details:  Detailed in the language and platforms section.....

Attachments:

  1. January 31, 2014 00:00:00: 1_Error_Reading_PNG_Image.PNG

Comments:

We are currently testing CF10 and have a working production installation of CF 8. The CFIMAGE tag in CF 8 reads the exact image just fine.
Comment by External U.
13556 | January 30, 2014 03:33:12 PM GMT
UPDATE - looks like I needed to enable BLOB in the data source connection......... DOH!
Comment by External U.
13557 | January 30, 2014 03:42:50 PM GMT
Closing the bug.
Comment by Rupesh K.
13558 | January 31, 2014 10:32:35 PM GMT