photoshop to spine部分图像导出并未进行裁切,而是按原画布大小输出,是什么问题呢?
photoshop to spine裁切空白出错
在使用PhotoshopToSpine脚本时,如果部分图像导出并未进行裁切,而是按原画布大小输出,可能是由于以下几个原因:
脚本设置问题:确保在PhotoshopToSpine脚本的设置中启用了“Trim whitespace”选项。如果该选项未启用,导出的图像将包含原画布的所有空白区域。
图层结构问题:检查你的PSD文件的图层结构,确保没有特殊的图层效果或剪切蒙版影响导出结果。你可以尝试将图层合并(merge)后再导出。
脚本版本问题:确保你使用的是最新版本的PhotoshopToSpine脚本。旧版本可能存在一些已修复的错误。你可以从这里下载最新版本。
图像模式问题:确保你的PSD文件是8位/通道模式。你可以通过
Image > Mode > 8 Bits/Channel
来检查和设置。脚本下载问题:有时脚本文件可能在下载过程中损坏,建议重新下载并尝试。
如果以上方法都无法解决问题,建议你可以尝试将问题PSD文件发送到contact@esotericsoftware.com
,以便进一步诊断和解决问题。
sqesy If some layers are cropped with large margins, it is often because the pixels that appear to be blank are not blank. Try selecting pixels that you think are appropriate for the cropping area, using a rectangular selection, etc., then invert the selection and delete it, and then try exporting again. If this does not solve the problem, please send us the PSD file that is causing the problem via email and we will investigate the cause: contact@esotericsoftware.com