mtpaint 3.49.12- April 2016

Paint programs, vector editors, 3d modelers, animation editors, etc.
Message
Author
Pelo

canal alpha for transparence

#316 Post by Pelo »

canal alpha for transsparence : in english i don't understand how to do.
Is there a video somewhere ?

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

Re: canal alpha for transparence

#317 Post by wjaguar »

Pelo wrote:Is there a video somewhere ?
Here is a demo script. It makes a hole. :-)

Code: Select all

-channels/new type=alpha state=set
-channels/'edit alpha'
-select/all (100,100,80,40)
-palette/swap -selection/'fill ellipse' -palette/swap
-channels/'edit image'

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

#318 Post by don570 »

Note to pelo: I have tutorial site . Unfortunately some images need re-posting :cry:

The best way to imagine the alpha channel ---> a one-to-one correspondence with each pixel in the image.

alpha=1 implies pixel is shown to the user

alpha=0 implies that the pixel is not shown i.e. transparent

In-between values are possible. These are made by setting the opacity slider and brushing on the alpha channel.

Tip: A gaussian=2 effect in the alpha channel does a good job of removing jagged edges.

_______________________________________________

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

#319 Post by charlie6 »

Hi don570,
don570 wrote:Version 3.44.99 available
on first post, i only find a link to version 3.44.89 to datafilehost website ...
would you mind trelling where to find the link to 3.44.99 ?

thanks for your time !

Charlie

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

#320 Post by don570 »

I'm using a mydrive.ch account now.
It works well. 8)

I'll find the debian versions I made for the various Ubuntu distros
and post it there as well. They're old but they work well.

just check box and click on download button

http://www.mydrive.ch

user: porteus@don570
password: porteus

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

#321 Post by don570 »

I updated various packages to version 3.45.01

This includes Ubuntu Lucid and Ubuntu Tahr
which can be found in mtpaint-debian-3.45.01.tgz
Uncompress and follow instructions inside folder.

I found one unusual thing with Ubuntu Tahr
-----> only one script will show in menu
Image

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

#322 Post by wjaguar »

don570 wrote:I found one unusual thing with Ubuntu Tahr
-----> only one script will show in menu
The list of scripts in fact sits in the upper pane of a paned widget; above the "Action" box there should be a handle. Is it still there? If it is, can you drag it down, and what happens when you do?
Another thing. Can you disable the theme engine (whatever it is) and test what happens on pure unpolluted GTK+ (whatever version it is in there)?
Third thing. Does Tahrpup exhibit the same problem?
Fourth thing. See what happens with the attached patch (it removes the paned widget).

P.S.: On reflection, likeliest cause: "overlay-scrollbar-gtk2" strikes again.
Try running "LIBOVERLAY_SCROLLBAR=0 ./mtpaint" - if it fixes the problem this time too, I'm putting the setting into main.c to end the silliness once and for all. I'm quite sick of this Ubuntu bug menagerie. :-(
Attachments
test34902.patch.gz
(478 Bytes) Downloaded 300 times

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

#323 Post by technosaurus »

I noticed that the version number hit 3.45.01 ... Does the 45 indicate that the "V" code interface has stabilized enough to add other GUI toolkit support?
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].

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

#324 Post by wjaguar »

technosaurus wrote:I noticed that the version number hit 3.45.01 ... Does the 45 indicate that the "V" code interface has stabilized enough to add other GUI toolkit support?
It is 3.49.01. :-)
But actually yes; everything that should have been moved into vcode.c, now is, and core logic has lived without rearrangement through a number of versions. Now will be the most interesting part; documenting the whole shebang. ;-)

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

#325 Post by don570 »

Good news! The patch works in Ubuntu tahr!!
I put the patched version in the debian archive package.
mtpaint-debian-3.45.01.tar.gz

___________________________________
Puppy tahr doesn't need the patch.

I'll fix the version number during the weekend.

______________________________________

version 3.49.02
* Background layer now can use transparency like any other layer
* Background layer position now can be changed via Ctrl+arrows or layers window spinbuttons, like any other layer
* Lasso tool can be configured to shrink selection based on the selection channel - right click the tool icon
+ * Clone tool is now continuous
* Clone tool can be configured to work in unaligned mode - right click the tool icon
* Ctrl+Left click now positions clone source when using clone tool
* Ctrl+Right click now deletes last point when making polygonal selection (from a closed polygon, deletes the point nearest to cursor)

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

#326 Post by don570 »

To test Ubuntu Tahr without burning a CD.
you need to install Ubuntu Tahr to your hard drive.
Here are my instructions...
http://www.murga-linux.com/puppy/viewto ... 948#795948

____________________________________

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

#327 Post by wjaguar »

don570 wrote:To test Ubuntu Tahr without burning a CD.
you need to install Ubuntu Tahr to your hard drive.
Given that Tahrpup is OK again, easier to just turn the buggy eyecandy off and be done with it.

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

#328 Post by don570 »

Tahr pup was always okay. The patch doesn't affect it.

It's Ubuntu Tahr that needs the patch.

If I had a internet connection I would download
Raspberry pi Jessie to test because I read that
it uses gtk3

__________________________

linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

#329 Post by linuxcbon »

Hi wjaguar ,
can mtpaint edit "ico" files ? I tried, didn't work "unable to load file".
Can it be added ?
Thanks

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

#330 Post by wjaguar »

linuxcbon wrote:can mtpaint edit "ico" files ?
Not at the moment.
Can it be added ?
Yes, but it would be quite halfbaked without sizable changes to the engine.
See, the ICO format is multipage like TIFF - and while mtPaint can read such (into layers), it has no infrastructure to write them back except as single pages.
The infrastructure for handling image sequences was planned for version 4.00 - which hadn't happened.

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

#331 Post by wjaguar »

don570 wrote:Tahr pup was always okay. The patch doesn't affect it.
It's Ubuntu Tahr that needs the patch.
Precisely. And the difference between the two is: Ubuntu inserted into GTK+2 a shitty module for perverting scrollbars, and Tahrpup left the module out.
Raspberry pi Jessie to test because I read that
it uses gtk3
GTK+3 is irrelevant.

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

#332 Post by don570 »

updated to version 3.49.02

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

#333 Post by don570 »

wjaguar Version 3.49.03

Fixed [ ] keys for next/prev color
Fixed compilation on Windows
Disabled liboverlay-scrollbars-gtk2 to get rid of glitches on Ubuntu

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

#334 Post by don570 »

version 3.49.03 is available in first post

_________________________________

I also made a fatdog 64 bit version

mtpaint-fatdog-3.49.03-x86_64-PET.txz

___________________________________

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

#335 Post by don570 »

version 3.49.04
Added option for gamma-corrected alpha blending
Made *_row() and render_layers() parallelizable
Switched simple luminance formulae to integer math
Fixed "Transform colour" sometimes losing original palette (since 3.44.81)

Post Reply