Quote:the problem is how to convert from BMP to TIFF without using any external libraries.
You just have to make a program that is replacing the library you don't want to use !
You have to:
- define a neutral format that suit your needs. Usually an array containing a bitmap version of the picture.
- Write a BMP decoder to your neutral format. Can involve some decompression. Have to search for BMP format details either by finding the format definition or by finding a decoder in source code to get clues.
- Write a TIFF encoder from your neutral format. Involve compression. Have to find same information as for BMP.
- Need third party tools to ensure that the result is ok.
- Need to lot of work.