Hello! I am a complete novice to ImageMagick. My main purpose of using it is for a telegram bot that distorts images. (A bot does exists but its not open source.) I would want to know how to get result similar to these -
https://imgur.com/a/20EQYKe
I would also like help with implementing it in python if possible!
The bot owner did give a hint of using liquid-rescale ! (Also yes, I understand this is for funny reasons but I really want to have experience with telegram bots!)
Distorting image using liquid-rescale
- GeeMack
- Posts: 718
- Joined: 2015-12-01T22:09:46-07:00
- Authentication code: 1151
- Location: Central Illinois, USA
Re: Distorting image using liquid-rescale
A very similar effect can be achieved using ImageMagick's -liquid-rescale, and maybe combining it with -implode. Using IM7 from a command line, you could do something like this...rupansh wrote: ↑2018-08-05T14:16:07-07:00Hello! I am a complete novice to ImageMagick. My main purpose of using it is for a telegram bot that distorts images. (A bot does exists but its not open source.) I would want to know how to get result similar to these -
https://imgur.com/a/20EQYKe
Code: Select all
magick input.jpg -liquid-rescale 320x320 -implode 0.25 result.png
Re: Distorting image using liquid-rescale
Thank you very much! Your command worked perfectly fine on Windows with IM7. Also please do provide your github username as I will probably add you in credits once the bot is ready!GeeMack wrote: ↑2018-08-05T15:06:26-07:00A very similar effect can be achieved using ImageMagick's -liquid-rescale, and maybe combining it with -implode. Using IM7 from a command line, you could do something like this...rupansh wrote: ↑2018-08-05T14:16:07-07:00Hello! I am a complete novice to ImageMagick. My main purpose of using it is for a telegram bot that distorts images. (A bot does exists but its not open source.) I would want to know how to get result similar to these -
https://imgur.com/a/20EQYKe
To ask a proper question in this forum you should always provide the version of ImageMagick you're using, and let us know what OS you're working on.Code: Select all
magick input.jpg -liquid-rescale 320x320 -implode 0.25 result.png