I need to load file into stream and cut off some application markers from it.
I have a code which works on images not processed by MagickNET. This code expects that all blocks were saved in a correct order in a file.
See specification: http://www.media.mit.edu/pia/Research/deepview/exif.html
It starts from SOI(0xFFD8) Marker, so it's a JPEG file. Then APP1 Marker follows immediately.
I always believe that the APP1 marker should be located in the beginning of the file.
Can I remove all application markers from file and add them in a correct order?
Will they save in a correct order in this case?
I have a code which works on images not processed by MagickNET. This code expects that all blocks were saved in a correct order in a file.
See specification: http://www.media.mit.edu/pia/Research/deepview/exif.html
It starts from SOI(0xFFD8) Marker, so it's a JPEG file. Then APP1 Marker follows immediately.
I always believe that the APP1 marker should be located in the beginning of the file.
Can I remove all application markers from file and add them in a correct order?
Will they save in a correct order in this case?