John Cupitt
John Cupitt
With this test program: ```python #!/usr/bin/env python3 import sys import pyvips tile_size = 512 for filename in sys.argv[1:]: image = pyvips.Image.new_from_file(filename, access="sequential") image = image.cache() tiles = [image.crop(x * tile_size,...
### Discussed in https://github.com/libvips/libvips/discussions/3798 Originally posted by **cromefire** December 24, 2023 [Ultra HDR](https://developer.android.com/guide/topics/media/platform/hdr-image-format) is Google's new HDR image format based on JPEG and GainMaps (for compatibility) and newer Pixels actually...
At the moment, `g_warning()` messages are sometimes internationalised, and sometimes not. We should pick a policy and apply it to all of libvips. Suggestion: don't bother.
There's currently no simple uniform noise generator. See: https://github.com/libvips/pyvips/issues/436 A simple solution might be to make the number of iterations for `gaussnoise` a parameter. Setting it to 1 would be...
### Discussed in https://github.com/libvips/libvips/discussions/3516 Originally posted by **jstriebel** May 30, 2023 It would be great if libvips could support [Zarr](https://zarr.dev), and possibly also [OME-Zarr](https://github.com/ome/ngff) (also called OME-NGFF) for metadata. Zarr...
See https://github.com/libvips/libvips/issues/3010 and https://github.com/libvips/libvips/issues/2841 So far this is just a simple wrapper around the quantiser. ``` $ vips palette compute image palette usage: palette in out [--option-name option-value ...] where:...
We could start using glib's autoptr system. We'd need to require compiler support in `meson.build` with something like: ```meson cc.has_header_symbol( 'glib.h', 'G_DEFINE_AUTOPTR_CLEANUP_FUNC', dependencies : glib_dep, required : true, ) ```...
Profiles can optionally include a tag saying which intent they recommend. Using (this profile)[http://www.ifra.com/WebSite/ifra.nsf/html/CONT_ISO_DOWNLOADS] I see: ``` $ exiftool ~/pics/ISOnewspaper26v4.icc ExifTool Version Number : 12.56 File Name : ISOnewspaper26v4.icc Directory...
Some truncated JPEG files can cause out of order reads since `jpeg_read_scanlines()` will `longjmp()` out before it gets a chance to update `y_pos`. So we need to check `fail_on` on...
VipsArea is annoying to bind. We could use GBytes instead and have some compat functions for old code. See https://github.com/libvips/libvips/discussions/3080