mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-14 23:38:50 +00:00
#827 "Error occurred: Width (0) and height (0) cannot be <= 0" (have to Ignore 100's of times) fixed
This commit is contained in:
@@ -30,6 +30,8 @@ public interface AbortRetryIgnoreHandler {
|
||||
|
||||
public static int IGNORE = 2;
|
||||
|
||||
public static int IGNORE_ALL = 3;
|
||||
|
||||
public int handle(Throwable thrown);
|
||||
|
||||
public AbortRetryIgnoreHandler getNewInstance();
|
||||
|
||||
@@ -118,8 +118,8 @@ public class ShapeExporter {
|
||||
case PNG:
|
||||
case BMP:
|
||||
RECT rect = st.getRect();
|
||||
int newWidth = (int) (rect.getWidth() * settings.zoom / SWF.unitDivisor);
|
||||
int newHeight = (int) (rect.getHeight() * settings.zoom / SWF.unitDivisor);
|
||||
int newWidth = (int) (rect.getWidth() * settings.zoom / SWF.unitDivisor) + 1;
|
||||
int newHeight = (int) (rect.getHeight() * settings.zoom / SWF.unitDivisor) + 1;
|
||||
SerializableImage img = new SerializableImage(newWidth, newHeight, SerializableImage.TYPE_INT_ARGB);
|
||||
img.fillTransparent();
|
||||
Matrix m = new Matrix();
|
||||
|
||||
Reference in New Issue
Block a user