mtpaint 3.49.12- April 2016
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.
_________________________________________________
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
- 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
Hi wjaguar and don570,
please read from this post and the next ones...
http://www.murga-linux.com/puppy/viewto ... &start=590
HTH
Charlie
please read from this post and the next ones...
http://www.murga-linux.com/puppy/viewto ... &start=590
HTH
Charlie
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
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)
@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].
- charlie6
- Posts: 1230
- Joined: Mon 30 Jun 2008, 04:03
- Location: Saint-Gérard / Walloon part of Belgium
Hi don570,
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 ...
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 ...
I'm sorry to ask/insist ...please would you mind telling in a more detailed way how you did to get A and B colours settings saved?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 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 ...
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 ...
- charlie6
- Posts: 1230
- Joined: Mon 30 Jun 2008, 04:03
- Location: Saint-Gérard / Walloon part of Belgium
Hi don570,
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:
( i now believe this will render my wife's mtpaints use more easy )
Have fun! Charlie
Thanks a lot for your time ! I found your posts which helped !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.
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"
Have fun! Charlie
Patch for 3.44.92-93
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
- disallowed
- Posts: 279
- Joined: Sun 22 Mar 2015, 17:18
I ran this menu in puppy linux 4.3.1 (very old) and it worked using mtpaint 3.44.93.A crash bug has been found, affecting "File->Actions->Configure" since 3.44.92.
For instance I clicked 'Execute' button and Gimp opened up the image
I was working on. No crash was seen.
_________________________________________
I wrote a script to scale images in a folder.I have a folder containing grayscale JPEGs. I want to use mtPaint to convert them all to RGB colour space.
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'
____________________________________________________________
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'
- disallowed
- Posts: 279
- Joined: Sun 22 Mar 2015, 17:18
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:
I also tried
These open an error window "Cannot open file".
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
Code: Select all
sh-4.3# mtpaint -/root/a.jpg/'Convert to RGB'
sh-4.3# mtpaint -palette/'Load Default'
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/
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
The original file is left alone.
_________________________________________________
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
This isn't a serious error but I thought I'd mention it to you.'-image/rgb' matches a disabled item
The original file is left alone.
_________________________________________________
- disallowed
- Posts: 279
- Joined: Sun 22 Mar 2015, 17:18
1) mtpaint --> Image --> Script
It opens a window:
Click OK and opens an error window:
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:
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
Code: Select all
'-effect/unsharp' matches a disabled item
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
There is nothing unusual about this message. The programmer is justClick OK and opens an error window:
Code:
'-effect/unsharp' matches a disabled item
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'
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.
___________________________________
- disallowed
- Posts: 279
- Joined: Sun 22 Mar 2015, 17:18
Code: Select all
sh-4.3# -image/'Convert to RGB'
sh: -image/Convert to RGB: No such file or directory