-
ImageMagick version7.1.1-29 Q16-HDRI aarch64 Operating system, version and so onmacOS 13.6.6 DescriptionI'm trying to pre-process images for use with GPT-4 Vision. The documentation states:
I can't seem to crack this. Presumably we pipe one resize into another? Any pointers would be gratefully accepted. : )
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The following should do what you want.
Quotes (or \ escapes) seem to be needed when I paste into my Terminal. But in a script, they may not be needed. See geometry for > and ^ at https://imagemagick.org/script/command-line-processing.php#geometry |
Beta Was this translation helpful? Give feedback.
-
There is no need for piping. That just adds unneeded complications. Windows syntax:
Bash syntax:
|
Beta Was this translation helpful? Give feedback.
-
thank you so much!! you're the best. : ) |
Beta Was this translation helpful? Give feedback.
There is no need for piping. That just adds unneeded complications. Windows syntax:
Bash syntax: