Re: Convert JPEG image to 1 BPP Bitmap format
- From: voidcoder <voidcoder@xxxxxxxxx>
- Date: Fri, 06 Oct 2006 22:43:07 +0200
Use IImageEncoder::SetEncoderParameters to set
ENCODER_COLORDEPTH param = 1.
Jaikant wrote:
Hi,.
I am using CLSID_ImagingFactory, IImageDecoder, IImangeEncoder, IImageSink ... to convert BMP file to JPEG and again JPEG to BMP file. My origional BMP file is 1 BPP (1 Bit per pixel ) format so it has the lowest size 2.3 KB
After converting the BMP to JPEG it gives JPEG file of 1.98 KB
But when I convert the JPEG file back to BMP file it is giving BMP file of size 50.3 KB, This is not 1 BPP format. How to instruct the Encoder to generate the Output BMP file in 1 BPP format ? Thanks
Jaikant
I tried
- Prev by Date: Re: eVC4 and Visual Studio 2005
- Next by Date: Formatting SD cards
- Previous by thread: Re: Convert Unicode to single byte for file I/O
- Next by thread: Formatting SD cards
- Index(es):
Relevant Pages
|