You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing a somewhat odd issue ...
For JPG images (such as the attached one) that was downloaded with nodejs (fs.writeFile), Caman gives this error:
Image given has not completed loading
at Caman.finishInit /node_modules/caman/dist/caman.full.js:463:22
at Caman.nodeFileReady /node_modules/caman/dist/caman.full.js:372:19
at node_modules/caman/dist/caman.full.js:7:61
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:416:3)
If I open this image in the browser and resave it, Caman will not produce any errors. Hence I suspect there is some kind of "JPG header" that Caman needs to interpret the JPG properly?
Did anyone else try Caman on a .jpg that was created via fs.writefile? Any ideas appreciated ...
The text was updated successfully, but these errors were encountered:
I am experiencing a somewhat odd issue ...
For JPG images (such as the attached one) that was downloaded with nodejs (fs.writeFile), Caman gives this error:
If I open this image in the browser and resave it, Caman will not produce any errors. Hence I suspect there is some kind of "JPG header" that Caman needs to interpret the JPG properly?
Did anyone else try Caman on a .jpg that was created via fs.writefile? Any ideas appreciated ...
The text was updated successfully, but these errors were encountered: