Inkscape opens blank file, Firefox opens OK

General discussions about Inkscape.
serhiiku
Posts: 1
Joined: Wed Jul 10, 2019 6:07 am

Inkscape opens blank file, Firefox opens OK

Postby serhiiku » Wed Jul 10, 2019 6:22 am

Hi,
I exported a svg file from online editor Photopea.
When I open the file in Inkscape 0.92.4 (5da689c313, 2019-01-14) on Windows 10, it opens blank file. I can't select nothing on it.
But the same file in Firefox opens well. Is there any chance top open the file with Inkscape, or it is a bug of Photopea SVG export feature and I can do nothing?
The file is 2.2 Mb and it is there: https://drive.google.com/open?id=1SbnDZ ... ye6HyWVZ-l
Thank you!

User avatar
Xav
Posts: 1184
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: Inkscape opens blank file, Firefox opens OK

Postby Xav » Wed Jul 10, 2019 4:44 pm

It looks like Photopea has created a rather odd SVG file that will only work in recent web browsers.

* The content consists of two raster images embedded into the document.
* There is no vector content.
* The images are then exposed via a "shadow-root". This is a way of encapsulating content within web browsers, but isn't understood by non-browsers, or some older browsers that otherwise support SVG.
* The shadow-root is set to "closed", which prevents certain operations such as saving the images elsewhere.

Basically it's the sort of trick used by online sites precisely to stop you easily accessing and editing images - in this case it's presumably to lock you into using their tools, or get you to pay for a premium account.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

tylerdurden
Posts: 2292
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Inkscape opens blank file, Firefox opens OK

Postby tylerdurden » Thu Jul 11, 2019 4:10 am

I'd trace in 2 grey scans to get the black bits, then make the color arcs with blurred open paths.

Image
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/


Return to “General Discussions”

Who is online

Users browsing this forum: No registered users and 2 guests