Replies: 2 comments 15 replies
-
Beta Was this translation helpful? Give feedback.
15 replies
-
Had to use the following process:
1. convert statement 2. python script
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
In Photoshop its called an art board.
I need to shrink a RAW photo to fit a 64 * 64 pixel square.
In Photshop - once an art board is setup you can drag in an image into it. The image shrinks to fit, centered, within the 64 * 64 board (retaining aspect ratio). You can then click and drag the edges to the left/right/bottom boundaries.
Is there a way to automatically do this in ImageMagick?
So load and shrink image onto a 64 * 64 pixel canvas, centered, retain aspect ration:
Automatically drag image left and right until left/right boundary are hit by non background colour pixels:
OR keep going until - Drag image until bottom boundary is hit by non background colour pixels
Thanks so much
Beta Was this translation helpful? Give feedback.
All reactions