imagemagick-montage

Imagemagick - move/offset images within a tiled montage?

点点圈 提交于 2020-01-24 17:23:05
问题 Consider this example (Ubuntu 18.04, ImageMagick 6.9.7-4 Q16 x86_64 20170114): convert -size 300x100 xc:red red.png convert -size 100x100 xc:blue blue.png montage red.png blue.png -frame 5 -geometry '+0+0' -tile 1x redblue.png This gives the following image: What I'd like to do, is move the blue square on arbitrary x position "within its tile"; say align left edge of blue square to where 25% of the red rectangle width would be, or at 50% - or even align right edge of blue square with right

Powershell with Image Magick Montage reading from text file

为君一笑 提交于 2019-12-13 03:48:40
问题 I am working on a PowerShell script using Image Magick's montage function. My script works until the source files (.jpgs) volume increases to an ambiguous number of files. Once there are 'too many' files, the script fails due to 'Program 'montage.exe' failed to run: The filename or extension is too long' . It was suggested on the Image Magick forum (link @ bottom) to have PowerShell read from a text doc instead to reduce the length using the '@' operator. The code now looks like: montage