load tiff using FreeImage
问题 I tried this code with FreeImage to load my tif, and i get no error, but also no output. It works just fine if the input is a jpg. My tiff input is 16-bit greyscale. public void OpenRotateSave() { // load image, 16-bit tif FIBITMAP dib = FreeImage.Load(FREE_IMAGE_FORMAT.FIF_TIFF, "Mytif.tif",FREE_IMAGE_LOAD_FLAGS.DEFAULT); // save image FreeImage.SaveEx(dib, "MyTifOut.jpg"); // unload bitmap FreeImage.UnloadEx(ref dib); } I tried to Load without the modifiers, using just the filename, the