tiff

Cannot save TIF file using GDI+

半腔热情 提交于 2020-08-09 09:31:13
问题 I have a vb.net app that selects and loads a JPG file LoadedImage = Image.FromFile(InputImageName) then attempts to save the file as a TIF using GDI+ LoadedImage.Save(TIF_ImageName, ImageFormat.Tiff) There are no syntax errors, but the save fails with System.InvalidCastException was unhandled

Cannot save TIF file using GDI+

自闭症网瘾萝莉.ら 提交于 2020-08-09 09:31:06
问题 I have a vb.net app that selects and loads a JPG file LoadedImage = Image.FromFile(InputImageName) then attempts to save the file as a TIF using GDI+ LoadedImage.Save(TIF_ImageName, ImageFormat.Tiff) There are no syntax errors, but the save fails with System.InvalidCastException was unhandled

Is there a way to set specific compression scheme when saving tiff file in opencv?

ぐ巨炮叔叔 提交于 2020-06-26 07:19:18
问题 I'm using opencv to crop tif files, everthing is fine, except for saving image to a file - opencv always uses LZW compression, but i don't need compression on resulting files, i do appreciate opencv's help in saving my disk drive space, but now is not the right time to do it. So is there a way to

Save Matplotlib figure as TIFF

吃可爱长大的小学妹 提交于 2020-05-24 20:20:28
问题 Does anyone know how to save a Matplotlib figure as *.tiff? It seems that this format is not supported in Python, while the journals are quite often ask for that format. I am adding some minimal code: # -*- coding: utf-8 -*- from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt

Ghostscript: how to decide the output resolution of converting a multi-page PDF to multiple TIFFs

只愿长相守 提交于 2020-05-11 07:33:09
问题 I need to extract TIFF images from a bunch of multi-page PDF files from a scanner. During the scanning I specified a resolution of 600dpi. Here is the code I used to generate TIFF images: gs -q -dNOPAUSE -sDEVICE=tiffg4 \ -sOutputFile=a_page%02d.tif a.pdf -r600x600 -c quit This gave me the