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

#2453 How to disable `ffdec:smoothed="true"` ?
Author:
Date created:
Type: feature
Visibility: Everybody
Assigned to:
Labels: SVG
State: upgraded Help

I export my assets using FFdec to SVG format. Some assets are bitmaps, so in the resulting SVG file I have a `<pattern>` element with an `<image>` element, which contains the PNG encoded in Base64. In the `<pattern>` element, there is an attribute `ffdec:smoothed="true"`. I've tried to run my command with the config `disableBitmapSmoothing=true` and `shapeImport.useNonSmoothedFill=true`, but I get the same result... I also tried to export the asset manually from the GUI, changing the option in Advanced settings / Display / Disable bitmap smoothing as mentioned in #1913, but I also get the same result. Am I misunderstanding this attribute ? How can I avoid FFdec to perform smoothing ?
Downloado_216.svg (36 KiB)
I think you should add style="image-rendering:optimizeSpeed;image-rendering:pixelated" attribute to the <image> element as said in https://stackoverflow.com/questions/50184674/stop-auto-image-smoothing-inside-an-svgz I should update FFDec to do this automatically...
State: new→opened
In nightly 3100, these attributes are exported automatically when shape has non-smoothed image fill. The attribute is also imported back in SVG shape import. When it has smoothed image fill and you want to override it to non-smoothed in SVG, you need to add the said attributes.
State: opened→upgraded
Type: question→feature