PictureBox in Beta 4

Started by velasquez, December 04, 2008, 04:37:38 AM

Previous topic - Next topic

velasquez

Hi
I don't get to show an image correctly in PitcureBox. 
Could anybody reproduce this to know if it is a BUG?
 
Thanks

velasquez

Hi 
Did anybody already get to test the image that I posted in PictureBox of Beta-4? 
I need to know because she appears bad. 
Thanks 

owenwengerd

Can you post a small test project that demonstrates the problem?

velasquez

Ok Owen 
I posted the test files. 
 
Thanks

owenwengerd

It looks like the problem is due to OpenDCL masking any pixels with RGB color 192,192,192 as transparent. I opened your image in Paint Shop, reduced the colors to 16, then resaved in .jpg format, and the problem disappeared.

velasquez

Hi Owen 
I cannot change the color of the logo in my image. 
See another created image in the same way and that works well. 
Also see the same image in OenDCL 4.1.2.2

velasquez

Excuse I forgot to post the images.

BazzaCAD

Transparency for color 192,192,192 was added in version 5 by design. So that's why it looks fine in version 4.
If you don't want to change the image yourself tell the author of it, that it can't use color 192,192,192.
It looks like it's just a mistake in the gradient as some of the pixel in the bottom row are  193,192,192 & 194,192,192.

Or if you want I can change that one bottom row of pixels to all one consistent color without changing any other colors.

Or you last option would be to change the background color of the pic. box to color 192.192.192, so then the transparent pixels will actually show the real color & look as you expect, but I do think that's a very good solution.
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom

velasquez

Your suggestion to change color of background of PictureBox for 192 192 192 worked perfectly. 
I will remember this. 
Thank you very much.

BazzaCAD

Quote from: velasquez on December 09, 2008, 12:30:51 PM
Your suggestion to change color of background of PictureBox for 192 192 192 worked perfectly. 
I will remember this. 
Thank you very much.

I'm glad it helped, but I still think you should get the image fixed. :)
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom

velasquez

I would like to know to do this a lot of images they exist in my project. 
Do you can me to explain as doing this? 
I work with Photoshop.

Thanks


BazzaCAD

Quote from: velasquez on December 09, 2008, 01:12:23 PM
Do you can me to explain as doing this? 
I work with Photoshop.

You want me to explain how to do this?
Use the rectangle selection tool & zoom in a select the 1 pixel row on the bottom of the gradient.
Use the fill tool and fill it what a new color, something like 194,192,192.
That's it.. :)
a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom

velasquez

Ok   
Thanks for your help. 
 
You could tell me something on the one that I posted in Working with transparency.

http://www.opendcl.com/forum/index.php?topic=495.0