I have images that I wanna show it on the web. The extension of the image is .JPG. If you open the file in notepad it starts with LTRI. But that page is not working on browser (even not working on Photos/Paint app of windows 10). It only works on VB6 LeadTools. How can I convert this image? File metadata is below,
Old JPG files only work with VB6 leadtools
242 Views Asked by Imran Qadir Baksh - Baloch At
2
There are 2 best solutions below
0

The answer posted by xanatos is correct. This appears to be a 1-bit LEAD CMP image file.
We would like to add the following details:
- If the images are indeed 1-bit CMP, they would be pure black-and-white, and they would be lossless (unlike color CMP and common JPEG, which are usually lossy formats).
- Naming the file aa.JPG is incorrect, since the recommended extension for LEAD images is “.CMP”. However, when using our SDK, the correct format is detected regardless of the file name or its extension.
- Converting 1-bit images to JPEG is not recommended, since JPEG files are more suited for full-color images. It’s better to save them as PNG, TIFF or other lossless formats. (The LEADTOOLS SDK supports many such formats).
Using lossless compression shouldn’t produce large files since 1-bit images contain a lot less data than full-color images. - When using the free evaluation of our SDK, technical support is free through chat and email, so feel free to contact us with any questions you have.
You'll need to use the LeadTools libraries. You'll need to register to their site.
I haven't seen anyone else supporting that format, that is proprietary (as written by @Selvin).
Then the code should be easy: