将 GM 更改为量子深度 16 后,Octave 内存分配出现错误

将 GM 更改为量子深度 16 后,Octave 内存分配出现错误

我尝试将 GraphicsMagick 的量子深度增加到 16 位。我从这里。以下是 的版本详细信息和量子深度结果gm version

karthikeyan@karthikeyan:~$ gm version

GraphicsMagick 1.3.25 2016-09-05 Q16 http://www.GraphicsMagick.org/
Copyright (C) 2002-2016 GraphicsMagick Group.
Additional copyrights and licenses apply to this software.
See http://www.GraphicsMagick.org/www/Copyright.html for details.
..
...
....
Configured using the command:
  ./configure  '--with-quantum-depth=16' '--enable-shared' '--disable-static' '--with-magick-plus-plus=yes'

因此我继续处理图像,假设我的 graphicsmagick 可以处理 16 位,但我收到此错误。请帮助解决此问题:

karthikeyan@karthikeyan:~$ octave

octave:1> i = imread("/home/karthikeyan/Pictures/Wallpapers/f1376677896.jpg");
warning: your version of GraphicsMagick limits images to 8 bits per pixel
*** Error in `/usr/bin/octave-cli': malloc(): memory corruption: 0x0000000002300dd0 ***
panic: Aborted -- stopping myself...
^C^CPress Control-C again to abort.
^Cpanic: attempted clean up apparently failed -- aborting...
Aborted (core dumped)

相关内容