-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Closed
Labels
Description
by LewGun:
the picture which was encoded by image/jpeg. can't be operate by GraphicsMagick with error: gm convert: Invalid SOS parameters for sequential JPEG (D:/src.jpg). What steps will reproduce the problem? 1. create a picture by image/jpeg 2. endcode and save it 3. gm convert D:/src.jpg D:/dst.jpg What is the expected output? picture: "d:/dst.jpg" with nothing be output to console What do you see instead? picture: "d:/dst.jpg" with "gm convert: Invalid SOS parameters for sequential JPEG (D:/src.jpg)." Which compiler are you using (5g, 6g, 8g, gccgo)? 8g Which operating system are you using? win7-64bit Which version are you using? (run 'go version') go version go1.0.1 Please provide any additional information below. these steps will be ok. 1. convert to png: C:\Users\xx>gm convert D:/src.jpg D:/dst1.png gm convert: Invalid SOS parameters for sequential JPEG (D:/src.jpg). 2. convert from png to jpeg C:\Users\xx>gm convert D:/dst1.png D:/dst2.jpg 3. convert from jpeg to jpeg C:\Users\xx>gm convert D:/dst2.jpg D:/dst.jpg 4. there is a picture: D:/dst.jpg with nothing be output