Comments (10)
Yup, so it seems like an IM bug. I tested it on version 7.0.7-2 and it's working as expected:
docker run -v $(pwd):/imgs --entrypoint=composite dpokidov/imagemagick:7.0.7-2 -gravity Center /imgs/image_resize.png /imgs/canvas.png /imgs/out.png
from imagemagick-docker.
I've also opened an issue in IM - ImageMagick/ImageMagick#4271
from imagemagick-docker.
And it turned out that the latest version of IM needs an extra -colorspace -sRGB
to make it work.
from imagemagick-docker.
Hey,
Thanks for creating this. Could you please share the image, so I can reproduce and show the version of the local IM (composite --version
)?
from imagemagick-docker.
Follows in
https://drive.google.com/drive/folders/1bqTV4nlLg0E1bn_BBAFBHPvq2bglmwh7?usp=sharing
from imagemagick-docker.
I think -composite
flag is different from composite
entrypoint. The below worked for me:
docker run -v $(pwd):/imgs --entrypoint=composite dpokidov/imagemagick -gravity Center /imgs/image_resize.png /imgs/canvas.png /imgs/out.png
from imagemagick-docker.
I just installed imagemagick and run the following command
composite -gravity Center image_resize.png canvas.png image.png
Which returned the expected result
Using the container the image is returned with error in the case in black and white
from imagemagick-docker.
Looks like an IM bug to me. Just to make sure could you please post composite -version
output here?
from imagemagick-docker.
$ composite --version
Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib djvu fftw fontconfig freetype heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib
from imagemagick-docker.
Thank you my friend
from imagemagick-docker.
Related Issues (15)
- Supporting RAF format HOT 2
- BMP/ICON detection is failing HOT 8
- Release arm64 images for apple M1 mac HOT 5
- lcms: Enable configuration build flag HOT 3
- Convert Folder of Images to 1920x1080
- Please upgrade ImageMagick to v7.1.0-37 HOT 1
- Put default workdir into Dockerfile
- Put DockerHub link here HOT 1
- Unable to read font 'helvetica' HOT 4
- `magick mogrify` command is not working HOT 2
- Simple alternative HOT 2
- Can't convert animated png files HOT 3
- Upgrade FROM in debian / fedora to always use latest version HOT 1
- Can't run while sharing volumes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagemagick-docker.