imagemagick crop 在单页 tif 上创建多页 tif
imagemagick crop creates multipage tif on singlepage tif
我想将单页 tif 文件裁剪为 2316x2720 像素:
convert 00000001.tif -crop 2316x2720 -repage 00000001_cropped.tif
当我使用此命令时,结果是一个包含 4 个帧的多页 tif 文件。
第一帧为 2316x2720 像素,其余为 3 帧。
如何只获取 tif 文件中的第一帧?
没有看到你的 TIF,我怀疑你想要这个:
convert 00000001.tif -crop 2316x2720+0+0 +repage 00000001_cropped.tif
我想将单页 tif 文件裁剪为 2316x2720 像素:
convert 00000001.tif -crop 2316x2720 -repage 00000001_cropped.tif
当我使用此命令时,结果是一个包含 4 个帧的多页 tif 文件。 第一帧为 2316x2720 像素,其余为 3 帧。
如何只获取 tif 文件中的第一帧?
没有看到你的 TIF,我怀疑你想要这个:
convert 00000001.tif -crop 2316x2720+0+0 +repage 00000001_cropped.tif