Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox problem with image tool and data URL #248

Open
brettz9 opened this issue May 30, 2018 · 1 comment
Open

Firefox problem with image tool and data URL #248

brettz9 opened this issue May 30, 2018 · 1 comment

Comments

@brettz9
Copy link
Contributor

brettz9 commented May 30, 2018

In Chrome, when I visit the latest at https://svg-edit.github.io/svgedit/releases/svg-edit-3.0.0-alpha.4/editor/svg-editor.html and add the data URL below (from #192) via the "Image Tool" icon on the left toolbar, I get an image ok.

In Firefox, nothing appears to happen except for an alert.

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABuUAAAHdCAYAAAAKInQhAAAgAElEQVR4XuzdC5xkdXnn/6cu3XOFmeEyCAJzQQQGEWOigo5B3cgQVyEJiTGJ5mVcg0oIN/GSXVGMuwYJiJtk46pkd40xgiICUSMCmRvo5qYMJhrvsK8/BlGUGZjpW3XV//V9fuc59etD9XTPpXq6pz+Vnf90V53zO7/zPqeK+dfX5/nVjAcCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCPRVoNbX0RkcAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQSMUI6bAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAIE+CxDK9RmY4RFAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBAglOMeQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQKDPAoRyfQZmeAQQQAABB...IIIIDAVAKEclMxsRMCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACswsQys1ux5EIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIITCVAKDcVEzshgAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgggMLsAodzsdhyJAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAwFQChHJTMbETAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAArMLEMrNbseRCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCEwlQCg3FRM7IYAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAIIIDC7AKHc7HYciQACCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAggggMBUAoRyUzGxEwIIIIAAAggggAACCCCAAAIIIIAAAggggAACCCCAAAKzC/z/douRRqlhj20AAAAASUVORK5CYII=
@brettz9 brettz9 changed the title Firefox problem with "save image" Firefox problem with image tool and data URL Jul 31, 2018
@cuixiping
Copy link
Member

It's not a valid base64. Did you copy the string from browser? I can see AQQQAABB...IIIIDAVAKE in the string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants