5.0rc2: Any image manipulation program able to handle webp

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
Post Reply
User avatar
Rava
Contributor
Contributor
Posts: 2843
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 x86-64 XFCe
Location: Forests of Germany

5.0rc2: Any image manipulation program able to handle webp

Post#1 by Rava » 16 Dec 2020, 14:07

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.
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2786
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

5.0rc2: Any image manipulation program able to handle webp

Post#2 by ncmprhnsbl » 17 Dec 2020, 02:53

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
Last edited by ncmprhnsbl on 18 Dec 2020, 01:18, edited 1 time in total.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 2843
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 x86-64 XFCe
Location: Forests of Germany

5.0rc2: Any image manipulation program able to handle webp

Post#3 by Rava » 17 Dec 2020, 03:22

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
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2786
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

5.0rc2: Any image manipulation program able to handle webp

Post#4 by ncmprhnsbl » 18 Dec 2020, 01:21

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)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply