Page 16 of 19

canal alpha for transparence

Posted: Wed 09 Mar 2016, 16:52
by Pelo
canal alpha for transsparence : in english i don't understand how to do.
Is there a video somewhere ?

Re: canal alpha for transparence

Posted: Thu 10 Mar 2016, 18:14
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'

Posted: Thu 10 Mar 2016, 18:40
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.

_______________________________________________

Posted: Mon 14 Mar 2016, 12:21
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

Posted: Mon 14 Mar 2016, 17:55
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

Posted: Thu 17 Mar 2016, 17:21
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

Posted: Thu 17 Mar 2016, 18:53
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. :-(

Posted: Thu 17 Mar 2016, 22:07
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?

Posted: Thu 17 Mar 2016, 22:26
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. ;-)

Posted: Thu 17 Mar 2016, 23:35
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)

Posted: Thu 17 Mar 2016, 23:47
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

____________________________________

Posted: Fri 18 Mar 2016, 00:03
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.

Posted: Fri 18 Mar 2016, 00:35
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

__________________________

Posted: Fri 18 Mar 2016, 00:40
by linuxcbon
Hi wjaguar ,
can mtpaint edit "ico" files ? I tried, didn't work "unable to load file".
Can it be added ?
Thanks

Posted: Fri 18 Mar 2016, 01:43
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.

Posted: Fri 18 Mar 2016, 08:46
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.

Posted: Sat 19 Mar 2016, 20:32
by don570
updated to version 3.49.02

Posted: Tue 22 Mar 2016, 00:27
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

Posted: Wed 23 Mar 2016, 00:25
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

___________________________________

Posted: Tue 29 Mar 2016, 16:40
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)