V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Poto
V2EX  ›  问与答

Nconvert 将 svg 转 png 报错,附命令及报错输出。

  •  
  •   Poto · Sep 3, 2021 · 1312 views
    This topic created in 1709 days ago, the information mentioned may be changed or developed.
    我想将 svg 转 png,在 CMD 中使用如下命令:

    "D:\Documents\Quicker\NConvertByPoto\nconvert.exe" -out png "D:\Downloads\ed956188-ec0b-4fab-8cfb-c1e99349da76.svg"

    结果报错:

    ** NCONVERT v7.80 (c) 1991-2021 Pierre-E Gougelet (Apr 27 2021/08:27:27) **
    Version for Windows Xp/Vista/7 x64 (All rights reserved)
    ** This is freeware software (for non-commercial use)

    my_error_exit...<Not a JPEG file: starts with 0x3c 0x73>
    Error: Don't know how to read this picture (D:\Downloads\ed956188-ec0b-4fab-8cfb-c1e99349da76.svg)

    请问是哪里出了问题?如何解决?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3011 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 07:20 · PVG 15:20 · LAX 00:20 · JFK 03:20
    ♥ Do have faith in what you're doing.