Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extracting RGB values from a TIFF using VB

Status
Not open for further replies.

Guest
I am developing an application in VB 6.0 to analyze TIFF files. When extracting the R, G, B value (byte) for each pixel, occasionally the returned value is not what is expected when compared to that of photoshop. e.g. the photoshop gives Red = 252 but the value I application extracts is 0 or 1.

I have tried to capture the info in two ways:

1. Using FileSystemObject along with TextStream and Read

2. Using Open with Get

But unfortunately neither of them is working out for me here.

Can anyone tell me whats wrong and how do I go about it??

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor