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
Hi, I don't know it is an expected behaviour or not, but I could not found similar issue or docs about it.
while Sharp("test_image.png").jpeg().toFile("test.jpeg") converts png to jpeg correctly,
if I change output file extension something different than jpeg, it keeps png formatSharp("test_image.png").jpeg().toFile("test.tmp")
sharp 0.12.2
vips 8.2.1
node v4.2.6
OS X 10.11
The text was updated successfully, but these errors were encountered:
Hello, good spot on this. You're quite right that the output filename extension takes precedence over any output format, and if it can't be parsed will revert to the input format. Thanks for reporting!
Hi, I don't know it is an expected behaviour or not, but I could not found similar issue or docs about it.
while
Sharp("test_image.png").jpeg().toFile("test.jpeg")
converts png to jpeg correctly,if I change output file extension something different than
jpeg
, it keeps png formatSharp("test_image.png").jpeg().toFile("test.tmp")
sharp 0.12.2
vips 8.2.1
node v4.2.6
OS X 10.11
The text was updated successfully, but these errors were encountered: