Extract a full-scale image from a SVS file
问题 I am trying to extract the first page of a SVS file using Libtiff. The SVS file uses JPEG2000 compression for this image. My plan is: extracting raw tiles from the first page of the SVS, and decoding it using OpenJPEG. Below is what I tried to extract raw tiles from the SVS. I only got a 43KB output file from 152MB svs file (it failed to extract the raw tiles). I hope someone could let me know how to extract tiles from a SVS file. int main() { const char* filename = "input.svs"; TIFF* tiff_in