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)

5.0rc2: Any image manipulation program able to handle webp

Posted: 25 Oct 2021, 07:28
by Rava
ncmprhnsbl wrote:
18 Dec 2020, 01:21
uploaded fixed module:
mtpaint-3.49.32-x86_64-3_ncm.xzm 592 kb
md5sum : 26cee43d109d020136f42d4fd6f3090a
(and fixed in previous post)
It seems mtpaint-3.49.32-x86_64-3 has at least one big bug.

It took me a while to find it since text rotation I do rarely.

When you rotate a text (font:sans regular) the result is a non-rotated text.

The only thing that happens is that the selection outline box of the text is enlarged (as if to fit the rotated text into the box), but the text itself is just as if you choose either 0° rotation or have
[ ] Angle of rotation
deactivated via its checkbox.

*grumble*moan*first*covid*now*mtpaint*where*will*it*end* :lol:

5.0rc2: Any image manipulation program able to handle webp

Posted: 26 Oct 2021, 23:13
by Enzo
Hi, could you try Drawing app (https://maoschanz.github.io/drawing/) ? I've converted it from deb to xzm and tested image.webp from Porteus 5.rc3@Mate: seem work..

Cheers Enzo

5.0rc2: Any image manipulation program able to handle webp

Posted: 28 Oct 2021, 02:21
by Rava
Enzo wrote:
26 Oct 2021, 23:13
Hi, could you try Drawing app (https://maoschanz.github.io/drawing/) ? I've converted it from deb to xzm and tested image.webp from Porteus 5.rc3@Mate: seem work..
I would try it but where is your xzm download?

Added in 13 minutes 58 seconds:
tried it myself:

Code: Select all

eb2xzm drawing_0.6.4-1_amd64.deb
but then…

Code: Select all

guest@porteus:/$ drawing 
Traceback (most recent call last):
  File "/usr/bin/drawing", line 42, in <module>
    from drawing import main
ModuleNotFoundError: No module named 'drawing'
Added in 13 minutes 33 seconds:
tried drawing-0.8.3-2.fc35.noarch.rpm instead, that works now trying its webp capabilities, so far it only offers png jpeg or bmp. :(

Added in 3 minutes 10 seconds:
Also, in the open file dialogue box it not shows any webp images - again as individual choice it only offers png jpeg or bmp

Added in 17 minutes 20 seconds:
More info:

this is in my /tmp/webptest folder:

Code: Select all

guest@porteus:/tmp/webptest$ file *
test.bmp:  PC bitmap, Windows 3.x format, 374 x 385 x 24, image size 432740, cbSize 432794, bits offset 54
test.jpg:  JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 374x385, components 3
test.png:  PNG image data, 374 x 385, 8-bit/color RGB, non-interlaced
test.webp: RIFF (little-endian) data, Web/P image, VP8 encoding, 374x385, Scaling: [none]x[none], YUV color, decoders should clamp

guest@porteus:/tmp/webptest$ ls -o
total 512
-rw-r--r-- 1 guest 432794 Oct 28 05:08 test.bmp
-rw-r--r-- 1 guest  14699 Oct 28 05:12 test.jpg
-rw-r--r-- 1 guest  64227 Oct 28 05:08 test.png
-rw-r--r-- 1 guest   7276 Oct 28 05:07 test.webp
(both webp and jpeg have been saved with 93% quality)

This is all that drawing's open file dialogue offers:
Image
No webp!

5.0rc2: Any image manipulation program able to handle webp

Posted: 28 Oct 2021, 09:54
by raja
I have gimp and qView in Porteus-5.0rc3-QT.

Both can open webp files.

5.0rc2: Any image manipulation program able to handle webp

Posted: 28 Oct 2021, 18:26
by Rava
^

As editor I either use mtpaint (3.49.32-x86_64-3, see above) - it is good enough for most purposes - or when needed more, I use GIMP (gimp-2.10.22-x86_64-2_stripped+minimal_dependencies_rava.xzm)

For viewing I use viewnior (currently V1.7 x86-64 GTK3) - viewnior supports every graphics format supported by the system, you only have to ensure the system supports webp, then viewnior will do, too. Image

qView is new to me, does it need special dependencies that only come with certain DE(s) or is it minimal like mtpaint or viewnior?

5.0rc2: Any image manipulation program able to handle webp

Posted: 15 Dec 2021, 15:05
by wread
Hola Rava!

Did you try Bluegriffon? It is a webp editor, works ok on Porteus..

Cheers!

5.0rc2: Any image manipulation program able to handle webp

Posted: 15 Dec 2021, 15:46
by Rava
Hola wread,
wread wrote:
15 Dec 2021, 15:05
Did you try Bluegriffon? It is a webp editor, works ok on Porteus..
I presume you mean a different BlueGriffon than en.wikipedia?
BlueGriffon is a WYSIWYG content editor for the World Wide Web. It is based on the discontinued Nvu editor, which in turn is based on the Composer component of the Mozilla Application Suite

5.0rc2: Any image manipulation program able to handle webp

Posted: 15 Dec 2021, 15:56
by wread
Grüss Gott, Rava!
This one I mean!

5.0rc2: Any image manipulation program able to handle webp

Posted: 15 Dec 2021, 19:51
by Rava
Grüezi wread!
wread wrote:
15 Dec 2021, 15:56
This one I mean!
260 MB for a graphics editor?

Update
Seems it is the one from the wikipedia article I quoted in post #11 … B)