mtpaint ▷ mtPixy

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

mtpaint ▷ mtPixy

Post#1 by Rava » 06 Oct 2022, 22:58

TL;DR
mtpaint is now developed as mtpixy by the original author Mark Tayler (mtPaint means Mark Tyler's Paint) as part of a larger Spreadsheet and terminal utilities suite called mtCellEdit - but the described mtCellEdit appimages cannot be found.
The goal would be creating a mtPixy module for 5.0 x86-64 Porteus that fully supports webp also. (When that version would also run on Port 4.0 and 3.2.2 I would be as happy as a clam at high tide :) )

Elaborate version:
I was looking on help for my issues with getting the scripting going in mtPaint as you can see here
https://www.linuxquestions.org/question ... ost6384750
Rava wrote:Hi,

I have trouble following the mtpaint handbook in getting my own mtpaint scripting going.
My version calls itself mtPaint 3.50 while the package it came from calls itself mtpaint-3.49.32-x86_64.https://sourceforge.net/p/mtpaint/discu ... #1e9d/e00e

I read https://mtpaint.sourceforge.net/handboo ... ap_10.html and have issues here:
First is direct execution. Select 'Image->Scripts->Configure' menu option, choose a free script slot in the list on top, enter the commands in the window below, press "Execute", and it will happen. If there is an error in your script, execution will stop on it and the problem will be reported.
There is no such thing as Image->Scripts->Configure'
When I click Image->Scripts I get this
Image

Do I do something wrong, or do I need to find a more in depths HOWTO about mtpaint's scripting ability?

I want to create a simple script:
resize to 1920x1080
Unsharp Mask - Radius 5 Amount .5 Threshold 0 [x] Gamma corrected
save with same file name

or minimal variants, like
resize to 1920x1080
Unsharp Mask - Radius 5 Amount .7 Threshold 0 [x] Gamma corrected
save with same file name

or
resize to 1920x1080
Unsharp Mask - Radius 5 Amount .4 Threshold 0 [x] Gamma corrected
save with same file name

Any tips appreciated on how to get to the 'Image->Scripts->Configure' part.
but the only person answering could only send me help pages about mtpaint.

Searching further I found via https://sourceforge.net/p/mtpaint/discu ... #1e9d/e00e this
Is the program abandoned?
__________________________________________

Yeah it's abandonware at this point... I emailed Mark Tyler and he said he stopped developing mtPaint/rgbPaint and he's now developing a new program called mtPixy which can be downloaded from this link.
The link https://github.com/matyler/mtCellEdit/releases/tag/3.3 is a 404.
The link https://doc.marktyler.org/mtpixy/en_GB/chap_00.html is only the mtPixy handbook.

Via slapt-get
root@porteus:/# slapt-get --search mtpixy
root@porteus:/#
Via pgks.org https://pkgs.org/search/?q=mtpixy
Filter: [Distros: all] [Arches: arm intel] [Types: official thridparty]
No packages found
Via https://slakfinder.org/index.php?act=se ... e=#results
No hits
_____________________________________

Since mtPaint means Mark Tyler's Paint - mtpixy sounds promising.
In his own words:
https://www.marktyler.org/
mtPixy (2016-2022)

This Linux GUI app is a revisit of mtPaint to experiment with a simpler, more modern user interface. I also used C++/Qt instead of C/GTK+, and added a few command line utilities for testing purposes. The source code is part of the larger mtCellEdit suite.
(highlighting by me)
I am not that much interested in mtCellEdit for now, which is a spreadsheet program, and mtPixy is one part of that larger suit. I would still love to get my hands on mtCellEdit - to extract mtPixy and see if I can get it to run on 5.0 x86-64 Porteus, and also to get it to read and write webp which is essential for any pixel graphics program for me.

The goal would be creating a mtPixy module for 5.0 x86-64 Porteus that fully supports webp also.

Via pgks.org https://pkgs.org/search/?q=mtCellEdit
Filter: [Distros: all] [Arches: arm intel] [Types: official thridparty]
No packages found
https://github.com/matyler/mtCellEdit/releases reads
If you are new to the mtCellEdit suite and you don't want to build all of the packages from source, you can test mtCellEdit or mtPixy using the attached AppImages which should work with most x86_64 Linux distros from 2014-2022 (e.g. Ubuntu, Debian, Fedora, openSUSE, Gentoo, Arch, Slackware). If you download the binaries somewhere on your system and then run it using:

chmod u+x *.AppImage
./mtCellEdit*.AppImage
But the mtCellEdit*.AppImage is nowwhere to be found.

https://appimage.github.io/mtCellEdit/ sounds promising by the appimage.github.io/mtCellEdit/ part of the URL… but the download button only redirects to the above named https://github.com/matyler/mtCellEdit/releases - where no AppImage is found.

Other searches for "appimage mtCellEdit" also gave me no mtCellEdit*.AppImage results.
e.g. https://duckduckgo.com/?t=palemoon&q=%2 ... %22&ia=web only lists
https://github.com › matyler › mtCellEdit › releases
Releases · matyler/mtCellEdit · GitHub
Jun 25, 2021Mark Tyler's Spreadsheet Program. Contribute to matyler/mtCellEdit development by creating an account on GitHub.
which as described above gives no appimage downloads at all.

Any ideas?
Cheers!
Yours Rava

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

mtpaint ▷ mtPixy

Post#2 by babam » 06 Oct 2022, 23:18

Sorry, my English is bad.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

mtpaint ▷ mtPixy

Post#3 by Rava » 06 Oct 2022, 23:40

Thanks. :Rose: :friends: :good:

Code: Select all

guest@porteus:/mybin$ ./mtPixy-3.6-qt5-x86_64.AppImage 
No file found for "image/png.xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/usr/share/mime")
Aside from the reported missing image/png.xml it works.
What that png.xml is hard to guess.
The GUI is of course ignoring my dark desktop scheme, and also is ignoring my larger size for fonts and menu items, so on a fullHD screen it is hard to work with.

Code: Select all

guest@porteus:/tmp/test$ cp /mybin/mtPixy-3.6-qt5-x86_64.AppImage .
guest@porteus:/tmp/test$ ./mtPixy-3.6-qt5-x86_64.AppImage  --appimage-extract
squashfs-root/.DirIcon
squashfs-root/AppRun
squashfs-root/mtpixy-qt5.desktop
squashfs-root/mtpixy-qt5.png
squashfs-root/usr
squashfs-root/usr/bin
squashfs-root/usr/bin/mtpixy-qt5
squashfs-root/usr/bin/qt.conf
squashfs-root/usr/lib
squashfs-root/usr/lib/libQt5Core.so.5
squashfs-root/usr/lib/libQt5DBus.so.5
squashfs-root/usr/lib/libQt5Gui.so.5
squashfs-root/usr/lib/libQt5Svg.so.5
squashfs-root/usr/lib/libQt5Widgets.so.5
squashfs-root/usr/lib/libQt5XcbQpa.so.5
squashfs-root/usr/lib/libX11-xcb.so.1
squashfs-root/usr/lib/libXau.so.6
squashfs-root/usr/lib/libXext.so.6
squashfs-root/usr/lib/libXi.so.6
squashfs-root/usr/lib/libXrender.so.1
squashfs-root/usr/lib/libattr.so.1
squashfs-root/usr/lib/libblkid.so.1
squashfs-root/usr/lib/libbz2.so.1
squashfs-root/usr/lib/libcairo.so.2
squashfs-root/usr/lib/libcap.so.2
squashfs-root/usr/lib/libcroco-0.6.so.3
squashfs-root/usr/lib/libdbus-1.so.3
squashfs-root/usr/lib/libdw.so.1
squashfs-root/usr/lib/libelf.so.1
squashfs-root/usr/lib/libffi.so.6
squashfs-root/usr/lib/libgcrypt.so.11
squashfs-root/usr/lib/libgif.so.4
squashfs-root/usr/lib/libgmodule-2.0.so.0
squashfs-root/usr/lib/libgraphite2.so.3
squashfs-root/usr/lib/libgthread-2.0.so.0
squashfs-root/usr/lib/libicudata.so.50
squashfs-root/usr/lib/libicui18n.so.50
squashfs-root/usr/lib/libicuuc.so.50
squashfs-root/usr/lib/libjpeg.so.62
squashfs-root/usr/lib/liblz4.so.1
squashfs-root/usr/lib/liblzma.so.5
squashfs-root/usr/lib/libmount.so.1
squashfs-root/usr/lib/libmtkit.so.1
squashfs-root/usr/lib/libmtpixy.so.1
squashfs-root/usr/lib/libmtqex5.so.1
squashfs-root/usr/lib/libpcre.so.1
squashfs-root/usr/lib/libpcre2-16.so.0
squashfs-root/usr/lib/libpixman-1.so.0
squashfs-root/usr/lib/libpng15.so.15
squashfs-root/usr/lib/librsvg-2.so.2
squashfs-root/usr/lib/libselinux.so.1
squashfs-root/usr/lib/libsqlite3.so.0
squashfs-root/usr/lib/libsystemd.so.0
squashfs-root/usr/lib/libxcb-glx.so.0
squashfs-root/usr/lib/libxcb-icccm.so.4
squashfs-root/usr/lib/libxcb-image.so.0
squashfs-root/usr/lib/libxcb-keysyms.so.1
squashfs-root/usr/lib/libxcb-randr.so.0
squashfs-root/usr/lib/libxcb-render-util.so.0
squashfs-root/usr/lib/libxcb-render.so.0
squashfs-root/usr/lib/libxcb-shape.so.0
squashfs-root/usr/lib/libxcb-shm.so.0
squashfs-root/usr/lib/libxcb-sync.so.1
squashfs-root/usr/lib/libxcb-util.so.1
squashfs-root/usr/lib/libxcb-xfixes.so.0
squashfs-root/usr/lib/libxcb-xinerama.so.0
squashfs-root/usr/lib/libxcb-xkb.so.1
squashfs-root/usr/lib/libxml2.so.2
squashfs-root/usr/plugins
squashfs-root/usr/plugins/iconengines
squashfs-root/usr/plugins/iconengines/libqsvgicon.so
squashfs-root/usr/plugins/imageformats
squashfs-root/usr/plugins/imageformats/libqgif.so
squashfs-root/usr/plugins/imageformats/libqico.so
squashfs-root/usr/plugins/imageformats/libqjpeg.so
squashfs-root/usr/plugins/imageformats/libqsvg.so
squashfs-root/usr/plugins/platforminputcontexts
squashfs-root/usr/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so
squashfs-root/usr/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so
squashfs-root/usr/plugins/platforms
squashfs-root/usr/plugins/platforms/libqxcb.so
squashfs-root/usr/plugins/xcbglintegrations
squashfs-root/usr/plugins/xcbglintegrations/libqxcb-egl-integration.so
squashfs-root/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
squashfs-root/usr/share
squashfs-root/usr/share/applications
squashfs-root/usr/share/applications/mtpixy-qt5.desktop
squashfs-root/usr/share/doc
squashfs-root/usr/share/doc/mtpixy-qt5
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_00.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_01.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_02.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_03.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_04.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_05.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_A.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/chap_B.html
squashfs-root/usr/share/doc/mtpixy-qt5/en_GB/index.html
squashfs-root/usr/share/doc/mtpixy-qt5/img
squashfs-root/usr/share/doc/mtpixy-qt5/img/svg.svg
squashfs-root/usr/share/icons
squashfs-root/usr/share/icons/hicolor
squashfs-root/usr/share/icons/hicolor/16x16
squashfs-root/usr/share/icons/hicolor/16x16/apps
squashfs-root/usr/share/icons/hicolor/16x16/apps/mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/16x16/mimetypes
squashfs-root/usr/share/icons/hicolor/16x16/mimetypes/application-x-mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/256x256
squashfs-root/usr/share/icons/hicolor/256x256/apps
squashfs-root/usr/share/icons/hicolor/256x256/apps/mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/256x256/mimetypes
squashfs-root/usr/share/icons/hicolor/256x256/mimetypes/application-x-mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/32x32
squashfs-root/usr/share/icons/hicolor/32x32/apps
squashfs-root/usr/share/icons/hicolor/32x32/apps/mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/32x32/mimetypes
squashfs-root/usr/share/icons/hicolor/32x32/mimetypes/application-x-mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/48x48
squashfs-root/usr/share/icons/hicolor/48x48/apps
squashfs-root/usr/share/icons/hicolor/48x48/apps/mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/48x48/mimetypes
squashfs-root/usr/share/icons/hicolor/48x48/mimetypes/application-x-mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/64x64
squashfs-root/usr/share/icons/hicolor/64x64/apps
squashfs-root/usr/share/icons/hicolor/64x64/apps/mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/64x64/mimetypes
squashfs-root/usr/share/icons/hicolor/64x64/mimetypes/application-x-mtpixy-qt5.png
squashfs-root/usr/share/icons/hicolor/scalable
squashfs-root/usr/share/icons/hicolor/scalable/apps
squashfs-root/usr/share/icons/hicolor/scalable/apps/mtpixy-qt5.svg
squashfs-root/usr/share/icons/hicolor/scalable/mimetypes
squashfs-root/usr/share/icons/hicolor/scalable/mimetypes/application-x-mtpixy-qt5.svg
squashfs-root/usr/share/mime
squashfs-root/usr/share/mime/packages
squashfs-root/usr/share/mime/packages/mtpixy-qt5.xml
squashfs-root/usr/share/mtpixy-qt5
squashfs-root/usr/share/mtpixy-qt5/icons
squashfs-root/usr/share/mtpixy-qt5/icons/default.svg
squashfs-root/usr/share/mtpixy-qt5/patterns
squashfs-root/usr/share/mtpixy-qt5/patterns/default.png
squashfs-root/usr/share/mtpixy-qt5/shapes
squashfs-root/usr/share/mtpixy-qt5/shapes/default.png
squashfs-root/usr/translations
Let's see what can be done, or more specifically, what I am able to accomplish in my attempt creating a x86-64 minimal mtpixy module that respects the GUI's selection of theme (especially my dark theme) … so far it fails webp as AppImage even when webp is supported in my system.

Code: Select all

guest@porteus:/tmp/test$ ls squashfs-root/
AppRun  mtpixy-qt5.desktop  mtpixy-qt5.png  usr
Image
:( :cry:
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

mtpaint ▷ mtPixy

Post#4 by beny » 06 Oct 2022, 23:55

hi ok not for mtpaint or so but imagemagik seem that run for this task and is part of slackware 15 too
sudo magick /mnt/sdh1/DSC00847.JPG /mnt/sdh1/DSC00847.webp
sudo magick '/home/beny/DSC00847.webp' '/home/beny/DSC00847.JPG'

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

mtpaint ▷ mtPixy

Post#5 by Rava » 07 Oct 2022, 00:07

Update
Unfortunately https://doc.marktyler.org/mtpixy/en_GB/chap_00.html lists nothing for "script" - so while the GUI might look more modern, the base seems less than what is provided with mtpaint.

It has no Script menu entry, and it not even has an Unsharp Mask in Effects.

By these two things alone it seems mtpixy is much less than what mtpaint 3.50 has become…

Now that I saw it in action my interest in mtpixy dropped to approx 1% (or less). :(
( ♪ "You can't always get what you want" ♫ )
______________________________________________
beny wrote:
06 Oct 2022, 23:55
hi ok not for mtpaint or so but imagemagik seem that run for this task and is part of slackware 15 too
sudo magick /mnt/sdh1/DSC00847.JPG /mnt/sdh1/DSC00847.webp
sudo magick '/home/beny/DSC00847.webp' '/home/beny/DSC00847.JPG'
It is not that hard to get mtpaint to support webp, how you do it is somewhere documented in this forum even when I do not have the thread name or URL at hand.

I want my pixel graphics editor to natively support webp.
See size comparison here as of why:
Rava wrote:
06 Oct 2022, 08:41
Image size comparison:

Code: Select all

guest@porteus:tmp$ du -k onworks.net.*
308	onworks.net.jpg
352	onworks.net.png
136	onworks.net.webp
PNG lossless, WebP and JPEG 93% (high quality)
Unless it's only GUI elements, when PNG has the smallest size, most of the other times WebP wins by smallest file size.
Also JPEG and WEBP are lossy (webp can be lossless) and thus converting webp > jpeg and jpeg > webp worsens the quality.
Cheers!
Yours Rava

Post Reply