Fixed: PDF export - not rendering video stream frames

This commit is contained in:
Jindra Petřík
2025-12-07 18:53:48 +01:00
parent 4bea475838
commit 6cc182a372
2 changed files with 2 additions and 1 deletions

View File

@@ -404,7 +404,7 @@ public class DefineVideoStreamTag extends DrawableTag implements BoundedTag, Tim
return;
}
//System.out.println("drawed");
Graphics2D graphics = (Graphics2D) image.getBufferedImage().getGraphics();
Graphics2D graphics = (Graphics2D) image.getGraphics();
AffineTransform at = transformation.toTransform();
at.preConcatenate(AffineTransform.getScaleInstance(1 / SWF.unitDivisor, 1 / SWF.unitDivisor));
graphics.setTransform(at);