![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm using the System.Drawing.Imaging namespace to create multi-page TIFFs. Some of the frames are pulled from existing JPEG files and some are dynamically created by my application using the following process: 1) Create a new bitmap, specifying size 2) Obtain the graphics object for the bitmap 3) call the Clear method of the graphics, passing Color.White 4) repeatedly call DrawString on the Graphics object 5) Save the image to a MemoryStream When persisting bitmaps to the stream, I'm using the Tiff ImageCodecInfo and passing a single EncoderParameter with Encoder.SaveFlag and EncoderValue.MultiFrame. The resulting TIFF image can be viewed just fine with the Microsoft Windows Picture and Fax Viewer, but when I open it either in Microsoft Office Document Imaging or MSPaint, all I see are black pages. Does anyone know what causes this and how I may work around it? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |