mtpaint 3.49.12- April 2016

Paint programs, vector editors, 3d modelers, animation editors, etc.
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#256 Post by don570 »

I believe I tested it on April 64.
Did you restart X windows?

The most recent version of JWM 1104 works on April64. I'm using it now. :lol:
However it changes the window frame color blue
because tags aren't recognized.

__________________________________________

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#257 Post by charlie6 »

Hi don570,
don570 wrote:I believe I tested it on April 64.
...uuuh :? ...what are you telling about? jwm or mtpaint?

Cheers, Charlie

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#258 Post by don570 »

I tested JWM 2.2.2 on the april64 distro
and I've just test it on tahr 5.8.3 and jwm 2.2.2 works with recent versions of mtpaint.

Code: Select all

# jwm -v
JWM v2.2.2 by Joe Wingbermuehle
_________________________________________________

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

possibly mtpaint F7 and F12 shortkeys unexpected behaviour

#259 Post by charlie6 »

Hi wjaguar and don570,
please read from this post and the next ones...
http://www.murga-linux.com/puppy/viewto ... &start=590
HTH
Charlie

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#260 Post by technosaurus »

Here is the actual post: http://www.murga-linux.com/puppy/viewto ... 138#852138

@Charlie6: there is a little paper icon in the top left of each post that allows you to directly link to it ... linking to a specific page may not make sense if you have the posts configured to be in descending order (which I do, because I am usually more interested in the most recent posts than the initial one ... though when I was a noob here, the 1st post was typically more relevant, so it makes sense that it is the default)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#261 Post by don570 »

to Charlie...

That explains why I had no problems with F7 key in tahr 583
whereas the start menu would pop up if I pressed F12
______________________________________________

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#262 Post by charlie6 »

Hi Technosaurus,
thanks for the TiP !
i was ignorant of this ! :wink:
Best regards
Charlie

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#263 Post by charlie6 »

Hi don570,
don570 wrote:to wjaguar:
I was able to save a color palette and then open it later in v 3.44.33.
No problems.
However I didn't try to edit the colors.
I'm sorry to ask/insist :oops: ...please would you mind telling in a more detailed way how you did to get A and B colours settings saved?

I indeed tried to
- save the palette to /root/mtpaintDEFpalette.gpl file;
-as also define a /etc/mtpaint/mtpaintrc filr with /root/.mtpaint content copied into it; and define a path for the default palette in Image/Preferences/Path...
- exit mtpaint hoping the settings were saved into /root/.mtpaint
but ... no hope
MtPaint keep sticked to Red/Black colours as color A and B.

Also read thoroughly the
http://murga-linux.com/puppy/viewtopic. ... 485#729485 but with no result ... :oops:

Thanks for any reply
Charlie

last edited:
yeah...! i discovered (more by exploring, trying, ...) that something happened using Ctrl-E and Crl-W, defining colors order in the palette, pressing the «Preview» button (otherwise nothing happens !) ... and then that defining a palettes default config file (/etc/mtpaint/palette.txt or /etc/mtpaint/palette.gpl) was possible.
So here can get the new color setting upon starting mtPaint ... :)

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#264 Post by don570 »

to Charlie -

A couple of weeks ago when I was testing mtpaint's scripting abilities

I found that there was a difference in changing A and B colors with
a script command depending on whether in 256 color mode of RBG mode.
I wrote about it somewhere.

_______________________________

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#265 Post by charlie6 »

Hi don570,
don570 wrote:to Charlie -
A couple of weeks ago when I was testing mtpaint's scripting abilities
I found that there was a difference in changing A and B colors with
a script command depending on whether in 256 color mode of RBG mode.
I wrote about it somewhere.
Thanks a lot for your time :) ! I found your posts which helped !
http://www.murga-linux.com/puppy/viewto ... 408#845408
as also Dmitry's one: --> Hi Dmitry, many thanks to you !
http://www.murga-linux.com/puppy/viewto ... 108#846108

for info purpose only here is my script for entering text:

Code: Select all

-edit/colour a=114 b=11
-edit/freetype  'Background colour'=11  font='Nimbus Sans L'   style='bold condensed italic' size=15  text="Here is some
text"
( i now believe this will render my wife's mtpaints use more easy :? :) )
Have fun! Charlie

wjaguar
Posts: 359
Joined: Wed 21 Jun 2006, 14:16

Patch for 3.44.92-93

#266 Post by wjaguar »

A crash bug has been found, affecting "File->Actions->Configure" since 3.44.92. Patch is attached.
Attachments
fixact34493.patch.gz
(308 Bytes) Downloaded 154 times

User avatar
disallowed
Posts: 279
Joined: Sun 22 Mar 2015, 17:18

#267 Post by disallowed »

I have a folder containing grayscale JPEGs. I want to use mtPaint to convert them all to RGB colour space. Is there a command that do the job at once? Thanks.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#268 Post by don570 »

A crash bug has been found, affecting "File->Actions->Configure" since 3.44.92.
I ran this menu in puppy linux 4.3.1 (very old) and it worked using mtpaint 3.44.93.
For instance I clicked 'Execute' button and Gimp opened up the image
I was working on. No crash was seen.

_________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#269 Post by don570 »

I have a folder containing grayscale JPEGs. I want to use mtPaint to convert them all to RGB colour space.
I wrote a script to scale images in a folder.
The script launches mtpaint with --cmd option.
See this post and read the following posts as well.

http://murga-linux.com/puppy/viewtopic. ... 294#801294


The individual command to convert to RGB space is

Code: Select all

-image/'Convert to RGB'
You put quotes around the menu item or sometimes one word will work.

____________________________________________________________

I believe the full palette of colors will be accessible to you after this command , but if it's not then try

Code: Select all

-palette/'Load Default'
_______________________________________

User avatar
disallowed
Posts: 279
Joined: Sun 22 Mar 2015, 17:18

#270 Post by disallowed »

If I start mtpaint via terminal command, then the terminal doesn't seem active for new commands and there's not a # at the beginning of the line.

If I open a new terminal, I get this:

Code: Select all

sh-4.3# /root/a.jpg/'Convert to RGB'
sh: /root/a.jpg/Convert to RGB: Not a directory
sh-4.3# -/root/a.jpg/'Convert to RGB'
sh: -/root/a.jpg/Convert to RGB: No such file or directory
sh-4.3# -palette/'Load Default'
sh: -palette/Load Default: No such file or directory
sh-4.3# palette/'Load Default'
sh: palette/Load Default: No such file or directory
I also tried

Code: Select all

sh-4.3# mtpaint -/root/a.jpg/'Convert to RGB'
sh-4.3# mtpaint -palette/'Load Default'
These open an error window "Cannot open file".

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#271 Post by don570 »

Note to disallowed :

There is two ways to run a script

1) internally in mtpaint --> look for 'Script' menu item

Examples to convert to RGB

-image/rgb

-image/'Convert to RGB'


2) a script file --> it must have its permissions set to 'execute'
Instructions: CD to folder containing script and in terminal type ./script_name


Here's an example to change a folder of greyscale jpegs made in gimp
to RGB greyscale images. Your script can be located anywhere.
Your images are located in /root/my_images/

Code: Select all

for ZAD in /root/my_images/*.jpg ;do
  SUFFIX=_mod
  echo ZAD= $ZAD
  mtpaint --cmd -file/open="$ZAD" -image/rgb  -file/as="$ZAD"$SUFFIX
  mv -f  "$ZAD"$SUFFIX.jpg   "${ZAD%.jpg}"$SUFFIX.jpg
done

I've noticed that if there is a jpeg image in the folder that is already RGB
then there will be an error written to screen
'-image/rgb' matches a disabled item
This isn't a serious error but I thought I'd mention it to you.
The original file is left alone.

_________________________________________________

User avatar
disallowed
Posts: 279
Joined: Sun 22 Mar 2015, 17:18

#272 Post by disallowed »

1) mtpaint --> Image --> Script

It opens a window:

Code: Select all

# Resharpen image after rescaling
-effect/unsharp r=1 am=0.4 -effect/unsharp r=30 am=0.1
Click OK and opens an error window:

Code: Select all

'-effect/unsharp' matches a disabled item
2) The script file worked and I successfully changed a folder of grayscale jpegs to RGB. Thanks a lot.

But still haven't found how to use the individual command. For example:

Code: Select all

sh-4.3# cd /root
sh-4.3# a.jpg -image/rgb
sh: a.jpg: command not found
sh-4.3# -image/rgb
sh: -image/rgb: No such file or directory

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#273 Post by don570 »

Click OK and opens an error window:

Code:
'-effect/unsharp' matches a disabled item
There is nothing unusual about this message. The programmer is just
warning you that the operation isn't available. This is because images with
256 colors (or greyscale values) don't allow some effects.
Conversion to RGB fixes that.

Try typing

Code: Select all

-image/'Convert to RGB'
Another important feature of mtpaint --> each layer of an image is
independent and can be stored independently to disk.
The composite of all the layers can be stored to disk as well.

The benefit is the small amount of memory that mtpaint requires.
The smear paint brush is especially fast.

___________________________________

User avatar
disallowed
Posts: 279
Joined: Sun 22 Mar 2015, 17:18

#274 Post by disallowed »

Code: Select all

sh-4.3# -image/'Convert to RGB'
sh: -image/Convert to RGB: No such file or directory

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#275 Post by Semme »

Run that from within mtPaint >> Image >> Script, not your terminal.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

Post Reply