ccseer / Seer-Plugins

examples
56 stars 24 forks source link

eps2png插件不能正确预览eps,长图片右侧会缺失一部分内容,可做如下修改: #7

Open a90091343 opened 7 months ago

a90091343 commented 7 months ago

eps2png插件不能正确预览eps,长图片右侧会缺失一部分内容,可做如下修改: 修改plugin_eps.json,添加-dEPSCrop参数,即 "exec": "gswin32c.exe -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dEPSCrop -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 \"-sDEVICE=pngalpha\" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 \"-sOutputFile=SEER_OUTPUT_PATH.png\" -f\"SEER_INPUT_PATH\""

ccseer commented 7 months ago

感谢 下次修改

On Thu, Feb 8, 2024, 6:58 PM a90091343 @.***> wrote:

eps2png插件不能正确预览eps,长图片右侧会缺失一部分内容,可做如下修改: 修改plugin_eps.json,添加-dEPSCrop参数,即 "exec": "gswin32c.exe -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dEPSCrop -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-sOutputFile= SEER_OUTPUT_PATH.png" -f"SEER_INPUT_PATH""

— Reply to this email directly, view it on GitHub https://github.com/ccseer/Seer-Plugins/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZZIHRFBMHBO2CPGPDVNZDYSSVTZAVCNFSM6AAAAABC7QRF6KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZDIOBYHEZDOMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ccseer commented 5 months ago

你有文件不, 发给我测试下

a90091343 commented 5 months ago

文件找不到了,只记得是一个扁图片,分辨率大概860x260,用原本的方法下面会添加很大的空白,如何右侧原本的内容就被截掉了