Skip to content

Can't save as image with unusual extension #133

Description

@Nakilon

I would like to save some temporal files with extension .temp but I get 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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions