![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I create a 32bpp rgb bitmap in my code to write some text to it then convert it to a monochrome. My original bitmap is 1728 W by 2261 High with a resolution set of X= 204 and Y = 196. After converting it to a monochrome bitmap it has the same pixels height width and resolutions. I then save it as a tif file with cdcit group 3 fax compression. But it won't fax out with my dialogic board. I know the tiff file should be 1728 wide, single striped segmentation, multipage tiff even though it only contains one page. The code that does my conversion to tif is the following. MyBitMapBW = BmpCvrtr.ConvertBmp32rgbToBitonal(MyBitmapRgb) 'I finish the conversion to B&W then Dim MyEncoder As Encoder Dim MyEncoderParam As EncoderParameter Dim MyEncoderParams As EncoderParameters = New EncoderParameters(5) MyEncoderParams.Param(0) = New EncoderParameter(Encoder.Compression, CType(EncoderValue.CompressionCCITT3, Long)) MyEncoderParams.Param(1) = New EncoderParameter(Encoder.ColorDepth, 1) ' |
#3
| |||
| |||
|
|
I create a 32bpp rgb bitmap in my code to write some text to it then convert it to a monochrome. My original bitmap is 1728 W by 2261 High with a resolution set of X= 204 and Y = 196. After converting it to a monochrome bitmap it has the same pixels height width and resolutions. I then save it as a tif file with cdcit group 3 fax compression. But it won't fax out with my dialogic board. I know the tiff file should be 1728 wide, single striped segmentation, multipage tiff even though it only contains one page. The code that does my conversion to tif is the following. |
#4
| |||
| |||
|
|
"Robert Dufour" <bdufour (AT) sgiims (DOT) com> wrote in message news:OI6TzpZaHHA.4508 (AT) TK2MSFTNGP03 (DOT) phx.gbl... I create a 32bpp rgb bitmap in my code to write some text to it then convert it to a monochrome. My original bitmap is 1728 W by 2261 High with a resolution set of X= 204 and Y = 196. After converting it to a monochrome bitmap it has the same pixels height width and resolutions. I then save it as a tif file with cdcit group 3 fax compression. But it won't fax out with my dialogic board. I know the tiff file should be 1728 wide, single striped segmentation, multipage tiff even though it only contains one page. The code that does my conversion to tif is the following. If that wasn't the problem try having a look at 2 tiff files in a hex editor. The format isn't that complex to understand. You can download tiff file info from the web. You might end up having to write the file to disk manually if there's one small param that your fax proggy doesn't like. Michael |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |