47383b5bfc
tell buffer and target savers the file format Currently, buffer and target savers are not told the format they should write. This is usually OK (the JPEG saver already knows it should write JPEG), but some savers can write several formats, and these currently need an extra parameter. For example: ```ruby buf = x.write_to_buffer ".bmp", format: "bmp" ``` The first ".bmp" gets libvips to pick magicksave, the second `format:` param is necessary to tell magicksave to write BMP. This patch adds stub subclasses so that the savers know the exact format. It also improves PPM save. |
||
---|---|---|
.. | ||
Makefile.am | ||
heif.c | ||
jxl.c | ||
magick.c | ||
openslide.c | ||
poppler.c |