次の方法で共有


Display .tiff image??

You can display the tiff image using Through ImageDraw's DrawImage method.
https://www.velocityreviews.com/forums/t108565-display-tiff-image.html
https://www.neodynamic.com/ND/FaqsTipsTricks.aspx?tabid=66&prodid=4&sid=4
https://www.thescripts.com/forum/thread531027.html

Tiff image is bitonal image. All drawing in .NET requires a Graphics object, but a Graphics object cannot be created from a bitonal image.

Therefore, The .NET framework does not support modifying bitonal (i.e. single bit per pixel) images.

You may want convert the bitional image to other format before modifying it. Visit this site to understand more on how to write a image converter for tiff image.

 https://www.codeproject.com/cs/media/BitonalImageConverter.asp?df=100&forumid=332961&exp=0&select=1986856

You may download the sample code that demonstrates loading and converting a bitonal image to an RGB image for modification and demonstrates a method for converting the RGB image back into a bitonal image so that it can be saved back to disk.

https://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=96296FC7-C434-4098-B147-427C46B28960

Comments

  • Anonymous
    November 13, 2007
    You can display the tiff image using Through ImageDraw's DrawImage method. http://www.velocityreviews