Menu

ImageMagick convert problems 2

Help
2002-07-15
2002-07-15
  • Mathew L. Alexander

    I'm using Apache, PHP4, PHPix, and ImageMagick. Everything is setup fine and PHPix works. But the conversion is off. The converted image have black space above and below the picture itself. Take a look and thanks for any help on this situation. http://marsupilami23.homelinux.net/index.phtml

     
    • Mathew L. Alexander

       
      • marino

        marino - 2002-07-15

        Well I can't see your page.
        I get permission denied.
        But the problem with the extra black borders came up with newer versions of ImageMagick.
        Go to functions.inc and change the line that says "system($convert..." to this

        system("$convert -quality 80 -antialias +profile APP1 -sample {$new_width}x$new_width -bordercolor black -border {$border}x$border \"$source\" \"$dest\" 2>&1");

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.