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

rmagick dependency #10

Open
alxx opened this issue Jun 15, 2019 · 4 comments
Open

rmagick dependency #10

alxx opened this issue Jun 15, 2019 · 4 comments

Comments

@alxx
Copy link

alxx commented Jun 15, 2019

Any chance you could fork this project to use a more lightweight library than imagemagick via rmagick? It's just that imagemagick and libmagickwand-dev are a thousand times bigger than this actual gem. Lots of precious storage for what might perhaps be achieved using simpler packages. I don't need a million fonts and ghostscript and tiff support and exif and the whole of libcairo2 and and and...

I'd even take a version that's fed "hardcoded" bitmaps which I would pre-produce separately...

@alxx
Copy link
Author

alxx commented Dec 6, 2019

One year later... still no chance? Rmagick adds over 200 mb on a Raspberry Pi, including the whole of Python 3 and lots of others. All for a few pixels on an OLED screen...

@zeiv
Copy link
Owner

zeiv commented Dec 6, 2019

Hi @alxx, are you able to fork this and try removing the rmagick dependency from the gemspec? I suspect this gem will still work without the hard dependency, and then if you want to use the image feature you just manually install rmagick. I will happily take a PR if that works out. If you're not comfortable with that though I can test it out over the weekend

@zeiv
Copy link
Owner

zeiv commented Dec 6, 2019

Oh, perhaps I misunderstood your first message, you're still interested in image support but without the large rmagick dependency suite, is that correct?

@alxx
Copy link
Author

alxx commented Dec 9, 2019

Hi @zeiv , you're right, image support is great but adding Python and 200 mb of extra stuff only so I can display a logo seems a bit much... Surely there's a thinner alternative to imagemagick?

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

2 participants