Page 2 of 2

Re: How to convert an image into cylinderical image usng imagemagic?

Posted: 2019-03-04T03:56:18-07:00
by imran_ullah
On my directory the displace.png is generated only but then the script aborts. I also want to know why do I need the displace.png?

Re: How to convert an image into cylinderical image usng imagemagic?

Posted: 2019-03-04T06:24:37-07:00
by snibgo
Your question is vague.

What version of IM, on what platform? What script are you using? What is your exact command? What are your input images?

Re: How to convert an image into cylinderical image usng imagemagic?

Posted: 2019-03-04T10:57:14-07:00
by fmw42
What is the revision version of the script. It is at the top of the script. The current version is dated 12/31/2018.

What is your exact version of ImageMagick 6.8.x.x. Use convert -version. Nevertheless, 6.8 is rather old.

Since you are using -m vertical, the script should never get to line 933, which is used when -m horizontal is set. So I do not know what is happening.

I think that error might be coming from your OS and not ImageMagick. Do you have enough space in your /tmp directory. Perhaps it is filling and ImageMagick crashes due to too little space to work. How big is your image? Can you post a link to your image here?

The displacement image is created by the script to control the actual warping. See https://imagemagick.org/Usage/mapping/# ... ement_maps and https://imagemagick.org/Usage/mapping/# ... e_cylinder where a simpler form of the cylinderize is shown. Perhaps that code will be all that you need.