We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to save some temporal files with extension .temp but I get No known saver for '1.temp'. (Vips::Error)
.temp
No known saver for '1.temp'. (Vips::Error)
Thing like this would be nice:
def write_to_file name, type = nil, opts = {} ... saver = Vips::vips_foreign_find_save(type || filename)
im.write_to_file "1.temp", "png"
The text was updated successfully, but these errors were encountered:
Hello, write_to_file uses the extension to decide what saver to use, so it has to be a known extension.
write_to_file
You can call pngsave directly, for example:
pngsave
im.pngsave "1.temp"
Would that work?
Sorry, something went wrong.
Yeah seems to work fine. Thanks.
No branches or pull requests
I would like to save some temporal files with extension
.temp
but I getNo known saver for '1.temp'. (Vips::Error)
Thing like this would be nice:
The text was updated successfully, but these errors were encountered: