Git Product home page Git Product logo

Comments (4)

mroth avatar mroth commented on May 29, 2024

Huh that's weird. It looks like minimagick is dying when trying to read the image for some reason. If you look at the file stored at /Users/Ohayon/.lolcommits/test/tmp_snapshot.jpg is there anything weird about it or it's permissions? If you manually resize it from the command line using ImageMagick convert does it work?

from lolcommits.

ohayon avatar ohayon commented on May 29, 2024

not really familiar with imagemagick's cli, but these are the things i tried and their results:

~/.lolcommits/test
‣ convert tmp_snapshot.jpg -resize 50%
convert: unable to load module `/usr/local/Cellar/imagemagick/6.8.0-10/lib/ImageMagick//modules-Q16/coders/jpeg.la': file not found @ error/module.c/OpenModule/1277.
convert: no decode delegate for this image format `tmp_snapshot.jpg' @ error/constitute.c/ReadImage/550.
convert: option requires an argument `-resize' @ error/convert.c/ConvertImageCommand/2414.
~/.lolcommits/test
‣ convert tmp_snapshot.jpg -resize 50% s.png
convert: unable to load module `/usr/local/Cellar/imagemagick/6.8.0-10/lib/ImageMagick//modules-Q16/coders/jpeg.la': file not found @ error/module.c/OpenModule/1277.
convert: no decode delegate for this image format `tmp_snapshot.jpg' @ error/constitute.c/ReadImage/550.
convert: no images defined `s.png' @ error/convert.c/ConvertImageCommand/3078.
~/.lolcommits/test
‣ convert tmp_snapshot.jpg -size 10x10
convert: unable to load module `/usr/local/Cellar/imagemagick/6.8.0-10/lib/ImageMagick//modules-Q16/coders/jpeg.la': file not found @ error/module.c/OpenModule/1277.
convert: no decode delegate for this image format `tmp_snapshot.jpg' @ error/constitute.c/ReadImage/550.
convert: option requires an argument `-size' @ error/convert.c/ConvertImageCommand/2614.

from lolcommits.

mroth avatar mroth commented on May 29, 2024

Looks like your install of IM doesn't have jpeg support. I'm surprised homebrew doesn't put it there by default, but it looks like it's just "recommended" in their package now. Try brew install jpeg and see if that fixes it?

from lolcommits.

ohayon avatar ohayon commented on May 29, 2024

GOT 'EM! thanks man!

from lolcommits.

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.