Page 1 of 1

5.0rc2: Any image manipulation program able to handle webp

Posted: 16 Dec 2020, 14:07
by Rava
I need for 5.0rc2 any image manipulation program able to handle webp that is not GIMP - cause both GIMP 2.10.8 and 2.10.10 crash with segfault - Porteus 5.0 RC2 bug reports (Post by Rava #80420) - getting the GIMPs to not crash would also help.

mtPaint 3.50 cannot handle webp

azpainter 2.1.2 cannot handle webp

viewnior can handle webp when webp is supported in the system, which it is via needed library installed, but viewnior's manipulation abilities are very limited: cropping and turning, and nothing more.


I sure can convert all webp images e.g. into bmp, use e.g. mtPaint for editing and convert the bmp back to webp, but that is not a nice solution.

5.0rc2: Any image manipulation program able to handle webp

Posted: 17 Dec 2020, 02:53
by ncmprhnsbl
Rava wrote:
16 Dec 2020, 14:07
mtPaint 3.50 cannot handle webp
sure it can
mtpaint-3.49.32-x86_64-3_ncm.xzm 592 kb
md5sum : 26cee43d109d020136f42d4fd6f3090a
build configure options used: man cflags intl GIF jpeg tiff cflags lcms2 webp gtk3 jp2v2
also added image/webp to the mtpaint.desktop mimetypes

5.0rc2: Any image manipulation program able to handle webp

Posted: 17 Dec 2020, 03:22
by Rava
ncmprhnsbl wrote:
17 Dec 2020, 02:53
sure it can
mtpaint-3.49.32-x86_64-2_ncm.xzm 592 kb
md5sum : 89c5ca078c5d321e2edf19067c6b7382
build configure options used: man cflags intl GIF jpeg tiff cflags lcms2 webp gtk3 jp2v2
also added image/webp to the mtpaint.desktop mimetypes
Okay, my 3.50 version cannot. Will try out yours and report back.

Added in 24 minutes 36 seconds:
Update

What kind of DE are you using?
XFCE version of 5.0rc2 seems not fit running mtpaint-3.49.32-x86_64-2_ncm.xzm
:

Code: Select all

guest@porteus:/mnt/live/memory/images$ ldd /usr/bin/mtpaint|grep not
	libopenjpeg.so.5 => not found
guest@porteus:/mnt/live/memory/images$ ls -d mtpaint-3.49.32-x86_64-2_ncm.xzm/
mtpaint-3.49.32-x86_64-2_ncm.xzm/
guest@porteus:/mnt/live/memory/images$ md5sum mtpaint-3.49.32-x86_64-2_ncm.xzm/usr/bin/mtpaint /usr/bin/mtpaint
adfdc67bdecec78b5401b83147418dee  mtpaint-3.49.32-x86_64-2_ncm.xzm/usr/bin/mtpaint
adfdc67bdecec78b5401b83147418dee  /usr/bin/mtpaint
guest@porteus:/mnt/live/memory/images$ mtpaint 
mtpaint: error while loading shared libraries: libopenjpeg.so.5: cannot open shared object file: No such file or directory
Added in 12 minutes 47 seconds:
Update2

Seems a mere ln fixes that:

first as root

Code: Select all

root@porteus:/usr/lib64# ln -s libopenjp2.so.2.3.1 libopenjpeg.so.5
then the test as guest:

Code: Select all

guest@porteus:/mnt/DL$ file 0001.webp 
0001.webp: RIFF (little-endian) data, Web/P image, VP8 encoding, 1200x1200, Scaling: [none]x[none], YUV color, decoders should clamp
guest@porteus:/mnt/DL$ mtpaint 0001.webp 
guest@porteus:/mnt/DL$ echo $?
0

5.0rc2: Any image manipulation program able to handle webp

Posted: 18 Dec 2020, 01:21
by ncmprhnsbl
Rava wrote:
17 Dec 2020, 03:59
libopenjpeg.so.5 => not found
sorry about that, seems my build process got a bit messy :(
uploaded fixed module:
mtpaint-3.49.32-x86_64-3_ncm.xzm 592 kb
md5sum : 26cee43d109d020136f42d4fd6f3090a
(and fixed in previous post)