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 am unable to use Image.WriteToBuffer() in a Linux Docker image.
I'm passing in the extension like shown in the documentation: imageBytes = img.WriteToBuffer(".png");
This works perfectly fine when running in Windows, but in Linux it throws an exception like "NetVips.VipsException: unable to write to buffer VipsForeignSave: "�� p��" is not a known buffer format".
Tested in both Ubuntu and Alpine Docker images, using the same libvips install/build steps as from here
Image.WriteToFile() works in Linux, but i'd prefer not to have to save things to temp files if i can avoid it
The text was updated successfully, but these errors were encountered:
Hi,
I am unable to use Image.WriteToBuffer() in a Linux Docker image.
I'm passing in the extension like shown in the documentation:
imageBytes = img.WriteToBuffer(".png");
This works perfectly fine when running in Windows, but in Linux it throws an exception like "NetVips.VipsException: unable to write to buffer VipsForeignSave: "�� p��" is not a known buffer format".
Tested in both Ubuntu and Alpine Docker images, using the same libvips install/build steps as from here
Image.WriteToFile() works in Linux, but i'd prefer not to have to save things to temp files if i can avoid it
The text was updated successfully, but these errors were encountered: