GithubHelp home page GithubHelp logo

Exif too large about imgproxy HOT 6 CLOSED

fenos avatar fenos commented on May 28, 2024
Exif too large

from imgproxy.

Comments (6)

DarthSim avatar DarthSim commented on May 28, 2024 1

Hey @fenos!

Can I take a look at the image?

from imgproxy.

DarthSim avatar DarthSim commented on May 28, 2024 1

I made a PR to libvips that increases the EXIF size limit: libvips/libvips#3917

from imgproxy.

fenos avatar fenos commented on May 28, 2024

I've DM you on Slack with the image causing the issue 👍

from imgproxy.

fenos avatar fenos commented on May 28, 2024

when running vipsheader -a i get the following output:

vipsheader -a ~/Documents/exif-too-large.png

(vipsheader:24060): VIPS-WARNING **: 18:31:32.977: image_set: bad exif data
/Users/fenos/Documents/exif-too-large.png: 1024x1024 uchar, 3 bands, srgb, pngload
width: 1024
height: 1024
bands: 3
format: uchar
coding: none
interpretation: srgb
xoffset: 0
yoffset: 0
xres: 2.83465
yres: 2.83465
filename: /Users/fenos/Documents/exif-too-large.png
vips-loader: pngload
exif-data: 3953601 bytes of binary data
bits-per-sample: 8

which seems that the exif-data is ~4MB this should be the problem.
I'm wondering if we should handle this gracefully or returning a more friendly error if the exif-data is too large

from imgproxy.

DarthSim avatar DarthSim commented on May 28, 2024

EXIF size limit is increased to 8MB in the latest build.

from imgproxy.

DarthSim avatar DarthSim commented on May 28, 2024

The fix is released in v3.24.0

from imgproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.