imagemagick: resizing image outputs black image

Problems with packages? Post here, using [tags] of the package name.

imagemagick: resizing image outputs black image

Postby asdil12 » Tue Sep 25, 2018 12:36 pm

Description:
When I resize an image using imagemagick, it gets black.

Additional info:
* package version: imagemagick 7.0.8.12-1
* I am running an armv7h archlinuxarm system with ImageMagick 7.0.8-12 Q16 x86_64 2018-09-23

The bug doesn't appear on an x86_64 arch system.


Steps to reproduce:

$this->bbcode_second_pass_code('', '# Get some image
wget https://www.archlinux.de/build/images/archlogo.29b1c71c.svg -O b.svg

# Resize it
convert -resize 350 b.svg b.png

# Image is black
file b.png
b.png: PNG image data, 350 x 74, 1-bit grayscale, non-interlaced')

It happens as well with other input or output formats (eg. jpg)
asdil12
 
Posts: 12
Joined: Thu Jan 12, 2012 10:42 am

Re: imagemagick: resizing image outputs black image

Postby asdil12 » Tue Sep 25, 2018 2:54 pm

I think i found a solution:

Imagemagick seems to use the mali GPU for something, but this doesn't seem to work (maybe because I'm using the cloudshell2 board on my odroid xu4?).

It does work if I "rm /dev/mali0".

To prevent imagemagick from using mali you can also do "pacman -R odroid-xu3-libgl-x11"

Obviously this are just workarounds.
asdil12
 
Posts: 12
Joined: Thu Jan 12, 2012 10:42 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 10 guests