JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#1935 SVG exported in wrong dimensions/size
Date created:
Type: question
Visibility: Everybody
Assigned to:
Labels: ExportShapes
State: closed Help

> What steps will reproduce the problem? I export an SVG in any size (such as 100% or 400%), then after exporting, the SVG is not in the correct dimensions. > What is the expected output? What do you see instead? The SVG is supposed to be centered/uncropped/resized correctly, however instead it looks cropped, the problem is not the SVG viewer I am using, but when I open it in any vector editor (such as Inkscape or Illustrator) turn out the image is not correctly resized as well. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? The latest version v.18.3.1, Windows 11 (former versions exported the SVG correctly with the correct size and dimensions) > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. Nothing much, I am sending screenshots of the SVG in the vector editors as well as the SVG itself plus a screenshot of the image correctly exported in PNG, let me know if it's the result of some feature or a bug, the same also happens when I export at a size of 100%, the bug doesn't apply to PNG or other file formats however (especially since the latest version claims it is fixed for PNG and other formats)
Download1.png (3 KiB)Download2.png (111 KiB)Download3.png (86 KiB)Download174.svg (2 KiB)Download4.png (7 KiB)
admin
It's the result of a feature added in 18.3.0, the SVG shape/sprite data now retains exact position on the stage which it has defined in the SWF file. The position can be either positive or negative. In this case, it is negative. It was implemented to easier import/export exact position of the shape. (Issue #1913) Unfortunately, this causes a bit of confusion about how shape bounds should look like. I am considering reverting the change it to its previous state now...
State: new→opened
Type: bug→question
admin
I removed that feature in 18.3.2, the SVG should be exported with correct position now.
State: opened→upgraded
admin
State: upgraded→closed