question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add isProgressive flag to metadata output, requires libvips v8.7.0

See original GitHub issue

http://sharp.pixelplumbing.com/en/stable/api-input/#metadata

  • isProgressive: Boolean indicating whether the input image is interlaced (supported by JPEG and PNG)

See commit https://github.com/jcupitt/libvips/commit/15abbbe9863629227e7b0a04c78ef1b2d3aeb4b2

(“progressive” is used in preference to “interlaced” to ensure consistency with the output functions.)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rn4391commented, Apr 27, 2018

Subsampling related task completed in vips https://github.com/jcupitt/libvips/issues/954 I think it can now be appended to this task itself.

1reaction
lovellcommented, Apr 11, 2018

@rnanwani Support for exposing h_samp_factor and v_samp_factor would need to be added to libvips’ read_jpeg_header function first. Both these and isProgressive can be determined without decoding pixel data so belong in metadata().

Read more comments on GitHub >

github_iconTop Results From Across the Web

GIF output requires libvips with support for ImageMagick
Hey I came up with a similar problem. First check the existing libvips version using pkg-config --modversion vips-cpp .
Read more >
sharp @ 0.20.8 .. 0.22.1 - Package Diff
+* Add `chromaSubsampling` and `isProgressive` properties to `metadata` response. ... +* sharp v0.21.0 / libvips v8.7.0 - Caching within libvips disabled to ...
Read more >
Full text of "Visions In Mobility: Proceedings, International ...
MOBILITY CONFERENCE 7 m/1575 .w IW MELBOURNE AUSTRALIA Digitized by the Internet ... The category "low vision" therefore serves only to flag up...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found