Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

Negative black and white images

Last post 21 Apr 2008, 5:19 AM by nicolas. 2 replies.
Sort Posts: Previous Next
  •  18 Apr 2008, 7:44 AM 13708

    Negative black and white images

    Hi,

    I've developed a scanning application with DotImage 6.0 that scan pages and save them. If I look those images with an image viewer, I see the image OK, but if I open the image with the default microsoft viewer I see the image in negative.

     I need to see the images in both places OK.

     thanks in advance.

     

     

    Filed under:
  •  19 Apr 2008, 12:32 PM 13719 in reply to 13708

    Re: Negative black and white images

    Here is a KB with source code to resolve this:  http://www.atalasoft.com/KB/article.aspx?id=10069

    Glenn Chittenden Jr.
    Atalasoft Development Team
  •  21 Apr 2008, 5:19 AM 13720 in reply to 13719

    Re: Negative black and white images

    Thanks,

    but this code works only if I delete the If condition

    If (p0.R << 16 + p0.G << 8 + p0.B) < (p1.R << 16 + p1.G << 8 + p1.B) Then

    because always is false .

View as RSS news feed in XML