Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Maxime de Visscher / Maxime de Visscher (Maxime de Visscher)
Created: 11/23/2016
Components: CFIMAGE
Versions: 2016
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF2016_Update3 / 302356
Priority/Frequency: Critical / Most users will encounter
Locale/System: ALL / Linux All
Vote Count: 5
Problem Description:
On a Ubuntu 14.04, imageWrite don't save some jpg to file without produce any error.
It work for :
http://netghost.narod.ru/gff/sample/images/jfif/marbles.jpg
Don't work for :
http://fbuzz.net/wp-content/uploads/2013/07/Love-3.jpg
(Random sample image taken from google image for this bug reproduction.)
Steps to Reproduce:
Code sample:
<cfset myImage = imageRead('http://fbuzz.net/wp-content/uploads/2013/07/Love-3.jpg')>
<!--- Save the image in a file --->
<cfset ImageWrite(myImage,expandPath("./newvisu.jpg"), 1, true)>
<cfoutput>
ImageWidth:#imageGetWidth(myImage)#<br>
ImageHeight:#imageGetHeight(myImage)#<br>
IsImage:#IsImage(myImage)#<br>
ImageInfo:<cfdump var="#myImage#"><br>
<hr>
<!--- If it's work the image will not be broken --->
<img src="newvisu.jpg">
</cfoutput>
Actual Result:
Broken image
Expected Result:
Image of 'Love' ;)
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4198042
External Customer Info:
External Company:
External Customer Name: Maxime de Visscher
External Customer Email:
External Test Config: My Hardware and Environment details:
InstallKit Native UNIX
appserver Tomcat
expiration {ts '2016-11-22 15:33:32'}
productlevel Developer
productname ColdFusion Server
productversion 2016,0,03,300466
rootdir /opt/coldfusion2016/cfusion
additionalinformation Linux
arch amd64
buildnumber [empty string]
name UNIX
version 4.4.27-moby
Attachments:
Comments: