Graphics control with point() equivalent function and replace color functions 
Author Message
 Graphics control with point() equivalent function and replace color functions

With Quick Basic I used Gxlib. I know there was a Gxlib for Windows 3.1. But
later I think the company ceased production.

I have tried the point ( )  function in VB6 but it is not accurate,
producing different results with the same color area.

I also need a function to handle the palette of a Gif image loaded into an
image control replacing colors or floodfilling areas according to colors.

Is there any library that can do this?.

Thanks!!



Fri, 25 Feb 2005 09:00:43 GMT  
 Graphics control with point() equivalent function and replace color functions

Quote:

> I have tried the point ( )  function in VB6 but it is not accurate,
> producing different results with the same color area.

The VB Point function *is* accurate! If it is returning different values for different pixels in the "same colour area" then you are undoubtedly dealing with a "dithered" colour pattern. If you *know* that a filled area of an image is a single solid colour then it will be guaranteed to be displayed as a single solid colour (with every pixel having the same value) *only* on systems running at True Colour (32 bit) colour depth. Dithered patterns on systems running in 8 bit colour depth are usually obvious, but dither patterns on systems running at 16 bit (64K) colour depth are often not easy to spot!

Mike



Fri, 25 Feb 2005 08:34:40 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. API Point-type function (Color picking from the screen)

2. Controlling Access 97 Replace Function from VB

3. Controlling Access 97 Replace Function from VB

4. API wrapper functions to replace commondialog ocx controls

5. Setting a call back function to a function inside a control

6. Italian VBA function equivalents?

7. Equivalent of PointsToScreenPixelsX function in Office 97?

8. VB6 String$ function equivalent

9. Equivalent of function GetObject for .NET objects

10. API function equivalents in .NET

11. Whatz Equivalent to Shell() Function ??

12. equivalent MKSMBF$ function, Possible?

 

 
Powered by phpBB® Forum Software