Skip to content
New issue

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

[Bug]The version of libvips may have been confused in version 1.7.0 #114

Open
SethWen opened this issue May 9, 2024 · 1 comment
Open

Comments

@SethWen
Copy link

SethWen commented May 9, 2024

In README.md, libvips is noted as 8.14.5, however, the test example in which executed failed with the following error.

error: jpegsave: no property named `keep'

The following is my vips info.
The vips jpegsave options do not exist keep.

builder@2dd7e4b7a54a:~$ vips --version
vips-8.14.5
builder@2dd7e4b7a54a:~$ vips jpegsave
save image to jpeg file
usage:
   jpegsave in filename [--option-name option-value ...]
where:
   in           - Image to save, input VipsImage
   filename     - Filename to save to, input gchararray
optional arguments:
   Q            - Q factor, input gint
                        default: 75
                        min: 1, max: 100
   profile      - ICC profile to embed, input gchararray
   optimize-coding - Compute optimal Huffman coding tables, input gboolean
                        default: false
   interlace    - Generate an interlaced (progressive) jpeg, input gboolean
                        default: false
   trellis-quant - Apply trellis quantisation to each 8x8 block, input gboolean
                        default: false
   overshoot-deringing - Apply overshooting to samples with extreme values, input gboolean
                        default: false
   optimize-scans - Split spectrum of DCT coefficients into separate scans, input gboolean
                        default: false
   quant-table  - Use predefined quantization table with given index, input gint
                        default: 0
                        min: 0, max: 8
   subsample-mode - Select chroma subsample operation mode, input VipsForeignSubsample
                        default: auto
                        allowed: auto, on, off
   restart-interval - Add restart markers every specified number of mcu, input gint
                        default: 0
                        min: 0, max: 2147483647
   strip        - Strip all metadata from image, input gboolean
                        default: false
   background   - Background value, input VipsArrayDouble
   page-height  - Set page height for multipage save, input gint
                        default: 0
                        min: 0, max: 10000000
operation flags: sequential nocache

When I using crate libvips@=1.6.1, the example executed succefully.

@SethWen
Copy link
Author

SethWen commented May 13, 2024

See libvips change log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant