Page 1 of 1

Settable Stamp Transparent color

PostPosted: Mon Feb 09, 2009 1:10 am
by HPW
Now the stamp tool seems to use:

TransparentMode = tmAuto
(which uses the left/button pixel for transparent)

How about an option field in the stamp toolbar which is empty when tmAuto should be used, but can contain a key-color defined by RGB or HTML color codes.

PostPosted: Mon Feb 09, 2009 4:55 pm
by Neosoft Support
I would think that the stamp's transparent color would usually be set by the creator of the image. Currently, with stw format stamps the transparent color can be set from "Picture Properties" while editing the stamp. If no transparent color is selected, the NeoPaint uses the color in the lower left pixel as the transparent color.

PostPosted: Tue Feb 10, 2009 5:08 am
by HPW
I was not aware of this option in STW-files.

But there seems to be a bug in neopaint 4.7b with this:

I edit a testfile whith a white background and a smaller red rectangle.
The first file I only save it. It show up as a transparent stamp with only the red rectangle.

A second testfile I set the transparent color to red and save it.
I shows up in stamp browser correctly with a white face and a rectangle hole.
When I reopen it in neopaint and open the picture info, the choosen transparent color does not show up in the color field.
It shows wrongly the white color.

PostPosted: Tue Feb 10, 2009 10:45 am
by Neosoft Support
...When I reopen it in neopaint and open the picture info, the choosen transparent color does not show up in the color field. It shows wrongly the white color.


You're right. I will add it to the list of things to correct in the next update. In the mean time if you edit a stamp you will need to manually reset the transparent color before saving.

PostPosted: Wed Feb 11, 2009 6:28 am
by HPW
This shows also up in the Picture Inspector!

PostPosted: Wed Feb 11, 2009 7:05 am
by HPW
There is also another bug.
When I have a stamp-image which has a visible border and I do not want to make it bigger as it is (with a one pixel border for with transparent color) then I would define a transparent color.

But when I open the Color Selector dialog I can only use the Color Selector Tool to pick up an existing color in the bitmap. But I want to define a color that is not existent in the bitmap. So I have to paint a pixel temporary and select it as the transparent color. Then I remove it again.

So it would be better to be able to select also any color for transparence.

PostPosted: Wed Feb 11, 2009 12:05 pm
by Neosoft Support
But when I open the Color Selector dialog I can only use the Color Selector Tool to pick up an existing color in the bitmap. But I want to define a color that is not existent in the bitmap. So I have to paint a pixel temporary and select it as the transparent color. Then I remove it again.


I don't understand how having a transparent color that doesn't exist in the image would work.

PostPosted: Wed Feb 11, 2009 12:18 pm
by HPW
I don't understand how having a transparent color that doesn't exist in the image would work.


When I have a stamp with a small black border and I do nothing, then the border get transparent, because it is the left/bottom pixel. When I would set explicit a non existent color then nothing gets transparent.
The setting of the color would avoid the working of the automatic detection.

PostPosted: Thu Feb 12, 2009 10:56 am
by Neosoft Support
OK, I understand.