New topic: 

TIFFPictureMBS and Photometric

<http://forums.realsoftware.com/viewtopic.php?t=38301>

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        eddy2099          Post subject: TIFFPictureMBS and 
PhotometricPosted: Thu Mar 24, 2011 10:17 am                         
Joined: Sun Jan 23, 2011 11:59 am
Posts: 122                Sorry if this is obvious but I am still battling with 
the TIFF format.

I know that some tiff images particularly the 1bit images may be set as Black 
on White or White on Black. I understand that I would need to set the 
Photometric properly to cater for this.

However, when I load a tiff image, how do I find out what photometric setting 
it is using and ensure that the image will come out with White Background and 
Back Text.

Thanks.      
_________________
RealStudio 2011R1 ♡ Macbook Pro Mac OS X 10.6.6
http://www.batchimage.com
http://www.completemagic.com  
                             Top                 MonkeybreadSoftware          
Post subject: Re: TIFFPictureMBS and PhotometricPosted: Thu Mar 24, 2011 10:29 
am                                 
Joined: Wed May 10, 2006 2:42 pm
Posts: 1899
Location: Germany                Well, you should check the Photometric value 
for the tiff picture.

The picture you read with pict property or ReadRGB has those photometric 
applied, so the picture should read correctly.

Greetings
Christian      
_________________
See you in Essen, Germany at the REAL Studio Conference 2011

Registration and details here:
http://www.realsoftware.de/events/realcon2011essen/  
                             Top                 eddy2099          Post 
subject: Re: TIFFPictureMBS and PhotometricPosted: Thu Mar 24, 2011 10:37 am    
                     
Joined: Sun Jan 23, 2011 11:59 am
Posts: 122                Thanks. Yes, you are right, it should do it 
automatically for me. 

For some stupid reason, I went to set the Photometric setting to 0 if the 
images is 1 bits. It was definitely the wrong move.

When I just remove the code and let the readbw do its own magic, it works great.

Thank you once again.      
_________________
RealStudio 2011R1 ♡ Macbook Pro Mac OS X 10.6.6
http://www.batchimage.com
http://www.completemagic.com  
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to