mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-25 23:46:19 +00:00
Fixed: #1609 First frame missing in frame to PDF export
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.exporters;
|
||||
|
||||
import com.jpacker.JPacker;
|
||||
@@ -458,9 +459,13 @@ public class FrameExporter {
|
||||
p.setSize(img0.getWidth() + 10, img0.getHeight() + 10);
|
||||
pf.setPaper(p);
|
||||
|
||||
Graphics g = job.getGraphics(pf);
|
||||
g.drawImage(img0, 5, 5, img0.getWidth(), img0.getHeight(), null);
|
||||
g.dispose();
|
||||
|
||||
for (int i = 0; frameImages.hasNext(); i++) {
|
||||
BufferedImage img = frameImages.next();
|
||||
BufferedImage img = frameImages.next();
|
||||
g = job.getGraphics(pf);
|
||||
g.drawImage(img, 5, 5, img.getWidth(), img.getHeight(), null);
|
||||
g.dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user