diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/ImageExporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/ImageExporter.java index 1f4a54fea..69d673ada 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/ImageExporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/ImageExporter.java @@ -1,107 +1,108 @@ -/* - * Copyright (C) 2010-2015 JPEXS, All rights reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3.0 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. - */ -package com.jpexs.decompiler.flash.exporters; - -import com.jpexs.decompiler.flash.AbortRetryIgnoreHandler; -import com.jpexs.decompiler.flash.EventListener; -import com.jpexs.decompiler.flash.RetryTask; -import com.jpexs.decompiler.flash.exporters.modes.ImageExportMode; -import com.jpexs.decompiler.flash.exporters.settings.ImageExportSettings; -import com.jpexs.decompiler.flash.helpers.BMPFile; -import com.jpexs.decompiler.flash.helpers.ImageHelper; -import com.jpexs.decompiler.flash.tags.Tag; -import com.jpexs.decompiler.flash.tags.base.ImageTag; -import com.jpexs.helpers.Helper; -import com.jpexs.helpers.Path; -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import java.util.Locale; - -/** - * - * @author JPEXS - */ -public class ImageExporter { - - public List exportImages(AbortRetryIgnoreHandler handler, String outdir, List tags, ImageExportSettings settings, EventListener evl) throws IOException { - List ret = new ArrayList<>(); - if (tags.isEmpty()) { - return ret; - } - - File foutdir = new File(outdir); - Path.createDirectorySafe(foutdir); - - int count = 0; - for (Tag t : tags) { - if (t instanceof ImageTag) { - count++; - } - } - - if (count == 0) { - return ret; - } - - int currentIndex = 1; - for (Tag t : tags) { - if (t instanceof ImageTag) { - if (evl != null) { - evl.handleExportingEvent("image", currentIndex, count, t.getName()); - } - - final ImageTag imageTag = (ImageTag) t; - - String fileFormat = imageTag.getImageFormat().toUpperCase(Locale.ENGLISH); - if (settings.mode == ImageExportMode.PNG) { - fileFormat = "png"; - } - if (settings.mode == ImageExportMode.JPEG) { - fileFormat = "jpg"; - } - - if (settings.mode == ImageExportMode.BMP) { - fileFormat = "bmp"; - } - - { - final File file = new File(outdir + File.separator + Helper.makeFileName(imageTag.getCharacterExportFileName() + "." + fileFormat)); - final String ffileFormat = fileFormat; - - new RetryTask(() -> { - if (ffileFormat.equals("bmp")) { - BMPFile.saveBitmap(imageTag.getImage().getBufferedImage(), file); - } else { - ImageHelper.write(imageTag.getImage().getBufferedImage(), ffileFormat.toUpperCase(Locale.ENGLISH), file); - } - }, handler).run(); - ret.add(file); - } - - if (evl != null) { - evl.handleExportedEvent("image", currentIndex, count, t.getName()); - } - - currentIndex++; - } - } - - return ret; - } -} +/* + * Copyright (C) 2010-2015 JPEXS, All rights reserved. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3.0 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. + */ +package com.jpexs.decompiler.flash.exporters; + +import com.jpexs.decompiler.flash.AbortRetryIgnoreHandler; +import com.jpexs.decompiler.flash.EventListener; +import com.jpexs.decompiler.flash.RetryTask; +import com.jpexs.decompiler.flash.exporters.modes.ImageExportMode; +import com.jpexs.decompiler.flash.exporters.settings.ImageExportSettings; +import com.jpexs.decompiler.flash.helpers.BMPFile; +import com.jpexs.decompiler.flash.helpers.ImageHelper; +import com.jpexs.decompiler.flash.tags.Tag; +import com.jpexs.decompiler.flash.tags.base.ImageTag; +import com.jpexs.helpers.Helper; +import com.jpexs.helpers.Path; +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import java.util.Locale; + +/** + * + * @author JPEXS + */ +public class ImageExporter { + + public List exportImages(AbortRetryIgnoreHandler handler, String outdir, List tags, ImageExportSettings settings, EventListener evl) throws IOException { + List ret = new ArrayList<>(); + if (tags.isEmpty()) { + return ret; + } + + File foutdir = new File(outdir); + Path.createDirectorySafe(foutdir); + + int count = 0; + for (Tag t : tags) { + if (t instanceof ImageTag) { + count++; + } + } + + if (count == 0) { + return ret; + } + + int currentIndex = 1; + for (Tag t : tags) { + if (t instanceof ImageTag) { + if (evl != null) { + evl.handleExportingEvent("image", currentIndex, count, t.getName()); + } + + final ImageTag imageTag = (ImageTag) t; + + String fileFormat = imageTag.getImageFormat().toUpperCase(Locale.ENGLISH); + if (settings.mode == ImageExportMode.PNG) { + fileFormat = "png"; + } + + if (settings.mode == ImageExportMode.JPEG) { + fileFormat = "jpg"; + } + + if (settings.mode == ImageExportMode.BMP) { + fileFormat = "bmp"; + } + + { + final File file = new File(outdir + File.separator + Helper.makeFileName(imageTag.getCharacterExportFileName() + "." + fileFormat)); + final String ffileFormat = fileFormat; + + new RetryTask(() -> { + if (ffileFormat.equals("bmp")) { + BMPFile.saveBitmap(imageTag.getImage().getBufferedImage(), file); + } else { + ImageHelper.write(imageTag.getImage().getBufferedImage(), ffileFormat.toUpperCase(Locale.ENGLISH), file); + } + }, handler).run(); + ret.add(file); + } + + if (evl != null) { + evl.handleExportedEvent("image", currentIndex, count, t.getName()); + } + + currentIndex++; + } + } + + return ret; + } +} diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/modes/ImageExportMode.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/modes/ImageExportMode.java index f3042fd8f..77d3f6f02 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/modes/ImageExportMode.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/modes/ImageExportMode.java @@ -1,18 +1,19 @@ /* * Copyright (C) 2010-2015 JPEXS, All rights reserved. - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3.0 of the License, or (at your option) any later version. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 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.modes; /** @@ -21,5 +22,5 @@ package com.jpexs.decompiler.flash.exporters.modes; */ public enum ImageExportMode { - PNG_JPEG, PNG, JPEG, BMP + PNG_GIF_JPEG, PNG, JPEG, BMP } diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG3Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG3Tag.java index f39e6a85a..1e91a1541 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG3Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG3Tag.java @@ -65,6 +65,13 @@ public class DefineBitsJPEG3Tag extends ImageTag implements AloneTag { this.characterID = characterId; } + private byte[] createEmptyImage() { + BufferedImage img = new BufferedImage(1, 1, BufferedImage.TYPE_INT_ARGB); + ByteArrayOutputStream bitmapDataOS = new ByteArrayOutputStream(); + ImageHelper.write(img, "JPG", bitmapDataOS); + return bitmapDataOS.toByteArray(); + } + @Override public void setImage(byte[] data) throws IOException { if (ImageTag.getImageFormat(data).equals("jpg")) { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG4Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG4Tag.java index 192556a9a..6adcb3f80 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG4Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineBitsJPEG4Tag.java @@ -77,6 +77,13 @@ public class DefineBitsJPEG4Tag extends ImageTag implements AloneTag { return fmt; } + private byte[] createEmptyImage() { + BufferedImage img = new BufferedImage(1, 1, BufferedImage.TYPE_INT_ARGB); + ByteArrayOutputStream bitmapDataOS = new ByteArrayOutputStream(); + ImageHelper.write(img, "JPG", bitmapDataOS); + return bitmapDataOS.toByteArray(); + } + @Override public void setImage(byte[] data) { imageData = new ByteArrayRange(data); @@ -131,28 +138,6 @@ public class DefineBitsJPEG4Tag extends ImageTag implements AloneTag { return null; } - /** - * Gets data bytes - * - * @return Bytes of data - */ - @Override - public byte[] getData() { - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - OutputStream os = baos; - SWFOutputStream sos = new SWFOutputStream(os, getVersion()); - try { - sos.writeUI16(characterID); - sos.writeUI32(imageData.getLength()); - sos.writeUI16(deblockParam); - sos.write(imageData); - sos.write(bitmapAlphaData); - } catch (IOException e) { - throw new Error("This should never happen.", e); - } - return baos.toByteArray(); - } - /** * Constructor * @@ -161,7 +146,7 @@ public class DefineBitsJPEG4Tag extends ImageTag implements AloneTag { public DefineBitsJPEG4Tag(SWF swf) { super(swf, ID, NAME, null); characterID = swf.getNextCharacterId(); - imageData = ByteArrayRange.EMPTY; + imageData = new ByteArrayRange(createEmptyImage()); bitmapAlphaData = ByteArrayRange.EMPTY; } @@ -185,4 +170,26 @@ public class DefineBitsJPEG4Tag extends ImageTag implements AloneTag { imageData = sis.readByteRangeEx(alphaDataOffset, "imageData"); bitmapAlphaData = sis.readByteRangeEx(sis.available(), "bitmapAlphaData"); } + + /** + * Gets data bytes + * + * @return Bytes of data + */ + @Override + public byte[] getData() { + ByteArrayOutputStream baos = new ByteArrayOutputStream(); + OutputStream os = baos; + SWFOutputStream sos = new SWFOutputStream(os, getVersion()); + try { + sos.writeUI16(characterID); + sos.writeUI32(imageData.getLength()); + sos.writeUI16(deblockParam); + sos.write(imageData); + sos.write(bitmapAlphaData); + } catch (IOException e) { + throw new Error("This should never happen.", e); + } + return baos.toByteArray(); + } } diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/ImageTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/ImageTag.java index 07227b827..26085fde1 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/ImageTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/base/ImageTag.java @@ -74,9 +74,11 @@ public abstract class ImageTag extends CharacterTag implements DrawableTag { if (hasErrorHeader(data)) { return "jpg"; } + if (data.getLength() > 2 && ((data.get(0) & 0xff) == 0xff) && ((data.get(1) & 0xff) == 0xd8)) { return "jpg"; } + if (data.getLength() > 6 && ((data.get(0) & 0xff) == 0x47) && ((data.get(1) & 0xff) == 0x49) && ((data.get(2) & 0xff) == 0x46) && ((data.get(3) & 0xff) == 0x38) && ((data.get(4) & 0xff) == 0x39) && ((data.get(5) & 0xff) == 0x61)) { return "gif"; } diff --git a/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java b/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java index 4cd488383..24c02c242 100644 --- a/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java +++ b/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java @@ -202,7 +202,7 @@ public class CommandLineArgumentParser { out.println(" frame:canvas - HTML5 Canvas format for Frames"); out.println(" frame:pdf - PDF format for Frames"); out.println(" frame:bmp - BMP format for Frames"); - out.println(" image:png_jpeg - PNG/JPEG format for Images"); + out.println(" image:png_gif_jpeg - PNG/GIF/JPEG format for Images"); out.println(" image:png - PNG format for Images"); out.println(" image:jpeg - JPEG format for Images"); out.println(" image:bmp - BMP format for Images"); diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog.properties index 35d0ad036..f8e3c485d 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog.properties @@ -1,84 +1,84 @@ -# Copyright (C) 2010-2015 JPEXS -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -shapes = Shapes -shapes.svg = SVG -shapes.png = PNG -shapes.bmp = BMP -shapes.canvas = HTML5 Canvas - -texts = Texts -texts.plain = Plain text -texts.formatted = Formatted text -texts.svg = SVG - -images = Images -images.png_jpeg = PNG/JPEG -images.png = PNG -images.jpeg = JPEG -images.bmp = BMP - -movies = Movies -movies.flv = FLV (No audio) - -sounds = Sounds -sounds.mp3_wav_flv = MP3/WAV/FLV -sounds.flv = FLV (Audio only) -sounds.mp3_wav = MP3/WAV -sounds.wav = WAV - -scripts = Scripts -scripts.as = ActionScript -scripts.pcode = P-code -scripts.pcode_hex = P-code with Hex -scripts.hex = Hex -scripts.constants = Constants - -binaryData = Binary data -binaryData.raw = Raw - -dialog.title = Export... - -button.ok = OK -button.cancel = Cancel - -morphshapes = Morphshapes -morphshapes.gif = GIF -morphshapes.svg = SVG -morphshapes.canvas = HTML5 Canvas - -frames = Frames -frames.png = PNG -frames.gif = GIF -frames.avi = AVI -frames.svg = SVG -frames.canvas = HTML5 Canvas -frames.pdf = PDF -frames.bmp = BMP - -buttons = Buttons -buttons.png = PNG -buttons.svg = SVG -buttons.bmp = BMP - -fonts = Fonts -fonts.ttf = TTF -fonts.woff = WOFF - -zoom = Zoom -zoom.percent = % -zoom.invalid = Invalid zoom value. - -symbolclass = Symbol-Class mapping -symbolclass.csv = CSV +# Copyright (C) 2010-2015 JPEXS +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +shapes = Shapes +shapes.svg = SVG +shapes.png = PNG +shapes.bmp = BMP +shapes.canvas = HTML5 Canvas + +texts = Texts +texts.plain = Plain text +texts.formatted = Formatted text +texts.svg = SVG + +images = Images +images.png_gif_jpeg = PNG/GIF/JPEG +images.png = PNG +images.jpeg = JPEG +images.bmp = BMP + +movies = Movies +movies.flv = FLV (No audio) + +sounds = Sounds +sounds.mp3_wav_flv = MP3/WAV/FLV +sounds.flv = FLV (Audio only) +sounds.mp3_wav = MP3/WAV +sounds.wav = WAV + +scripts = Scripts +scripts.as = ActionScript +scripts.pcode = P-code +scripts.pcode_hex = P-code with Hex +scripts.hex = Hex +scripts.constants = Constants + +binaryData = Binary data +binaryData.raw = Raw + +dialog.title = Export... + +button.ok = OK +button.cancel = Cancel + +morphshapes = Morphshapes +morphshapes.gif = GIF +morphshapes.svg = SVG +morphshapes.canvas = HTML5 Canvas + +frames = Frames +frames.png = PNG +frames.gif = GIF +frames.avi = AVI +frames.svg = SVG +frames.canvas = HTML5 Canvas +frames.pdf = PDF +frames.bmp = BMP + +buttons = Buttons +buttons.png = PNG +buttons.svg = SVG +buttons.bmp = BMP + +fonts = Fonts +fonts.ttf = TTF +fonts.woff = WOFF + +zoom = Zoom +zoom.percent = % +zoom.invalid = Invalid zoom value. + +symbolclass = Symbol-Class mapping +symbolclass.csv = CSV diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_ca.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_ca.properties index ed6eb70db..df317dcf7 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_ca.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_ca.properties @@ -24,7 +24,7 @@ texts.formatted = Text formatat texts.svg = SVG images = Imatges -images.png_jpeg = PNG/JPEG +images.png_gif_jpeg = PNG/GIF/JPEG images.png = PNG images.jpeg = JPEG diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_cs.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_cs.properties index 2fef9d93b..fc8997683 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_cs.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_cs.properties @@ -1,78 +1,78 @@ -# Copyright (C) 2010-2015 JPEXS -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -shapes = Tvary -shapes.svg = SVG -shapes.png = PNG -shapes.bmp = BMP -shapes.canvas = HTML5 Canvas - -texts = Texty -texts.plain = \u010cist\u00fd Text -texts.formatted = Form\u00e1tovan\u00fd text -texts.svg = SVG - -images = Obr\u00e1zky -images.png_jpeg = PNG/JPEG -images.png = PNG -images.jpeg = JPEG -images.bmp = BMP - -movies = Videa -movies.flv = FLV (bez zvuku) - -sounds = Zvuky -sounds.mp3_wav_flv = MP3/WAV/FLV -sounds.flv = FLV (pouze zvuk) -sounds.mp3_wav = MP3/WAV -sounds.wav = WAV - -scripts = Skripty -scripts.as = ActionScript -scripts.pcode = P-k\u00f3d -scripts.pcode_hex = P-k\u00f3d s hex -scripts.hex = Hex - -binaryData = Bin\u00e1rn\u00ed data -binaryData.raw = Raw - -dialog.title = Exportovat... - -button.ok = OK -button.cancel = Storno - -morphshapes = Morphshapes -morphshapes.gif = GIF -morphshapes.svg = SVG -morphshapes.canvas = HTML5 Canvas - -frames = Sn\u00edmky -frames.png = PNG -frames.gif = GIF -frames.avi = AVI -frames.svg = SVG -frames.canvas = HTML5 Canvas -frames.pdf = PDF -frames.bmp = BMP - -fonts = P\u00edsma -fonts.ttf = TTF -fonts.woff = WOFF - -zoom = P\u0159ibl\u00ed\u017een\u00ed -zoom.percent = % -zoom.invalid = Neplatn\u00e1 hodnota velikost. - -symbolclass = Mapov\u00e1n\u00ed symbol\u016f na t\u0159\u00eddy +# Copyright (C) 2010-2015 JPEXS +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +shapes = Tvary +shapes.svg = SVG +shapes.png = PNG +shapes.bmp = BMP +shapes.canvas = HTML5 Canvas + +texts = Texty +texts.plain = \u010cist\u00fd Text +texts.formatted = Form\u00e1tovan\u00fd text +texts.svg = SVG + +images = Obr\u00e1zky +images.png_gif_jpeg = PNG/GIF/JPEG +images.png = PNG +images.jpeg = JPEG +images.bmp = BMP + +movies = Videa +movies.flv = FLV (bez zvuku) + +sounds = Zvuky +sounds.mp3_wav_flv = MP3/WAV/FLV +sounds.flv = FLV (pouze zvuk) +sounds.mp3_wav = MP3/WAV +sounds.wav = WAV + +scripts = Skripty +scripts.as = ActionScript +scripts.pcode = P-k\u00f3d +scripts.pcode_hex = P-k\u00f3d s hex +scripts.hex = Hex + +binaryData = Bin\u00e1rn\u00ed data +binaryData.raw = Raw + +dialog.title = Exportovat... + +button.ok = OK +button.cancel = Storno + +morphshapes = Morphshapes +morphshapes.gif = GIF +morphshapes.svg = SVG +morphshapes.canvas = HTML5 Canvas + +frames = Sn\u00edmky +frames.png = PNG +frames.gif = GIF +frames.avi = AVI +frames.svg = SVG +frames.canvas = HTML5 Canvas +frames.pdf = PDF +frames.bmp = BMP + +fonts = P\u00edsma +fonts.ttf = TTF +fonts.woff = WOFF + +zoom = P\u0159ibl\u00ed\u017een\u00ed +zoom.percent = % +zoom.invalid = Neplatn\u00e1 hodnota velikost. + +symbolclass = Mapov\u00e1n\u00ed symbol\u016f na t\u0159\u00eddy symbolclass.csv = CSV \ No newline at end of file diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_de.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_de.properties index fc08485ed..efa4c5454 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_de.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_de.properties @@ -22,7 +22,7 @@ texts.plain = Klartext texts.formatted = Formatierter Text images = Bilder -images.png_jpeg = PNG/JPEG +images.png_gif_jpeg = PNG/GIF/JPEG images.png = PNG images.jpeg = JPEG images.bmp = BMP diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_es.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_es.properties index 5fdef966b..872d79fdf 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_es.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_es.properties @@ -22,7 +22,7 @@ texts.plain = Texto plano texts.formatted = Texto formateado images = Im\u00e1genes -images.png_jpeg = PNG/JPEG +images.png_gif_jpeg = PNG/GIF/JPEG images.png = PNG images.jpeg = JPEG images.bmp = BMP diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_fr.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_fr.properties index 1c4bc2ab4..9a939f8cb 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_fr.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_fr.properties @@ -24,7 +24,7 @@ texts.formatted = Texte format\u00e9 texts.svg = SVG images = Images -images.png_jpeg = PNG/JPEG +images.png_gif_jpeg = PNG/GIF/JPEG images.png = PNG images.jpeg = JPEG images.bmp = BMP diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_hu.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_hu.properties index 8425308df..d0b06e7b6 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_hu.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_hu.properties @@ -1,84 +1,84 @@ -# Copyright (C) 2010-2015 JPEXS -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -shapes = Alakzatok -shapes.svg = SVG -shapes.png = PNG -shapes.bmp = BMP -shapes.canvas = HTML5 V\u00e1szon - -texts = Sz\u00f6vegek -texts.plain = Egyszer\u0171 sz\u00f6veg -texts.formatted = Form\u00e1zott sz\u00f6veg -texts.svg = SVG - -images = K\u00e9pek -images.png_jpeg = PNG/JPEG -images.png = PNG -images.jpeg = JPEG -images.bmp = BMP - -movies = Mozg\u00f3k\u00e9pek -movies.flv = FLV (Hang n\u00e9lk\u00fcl) - -sounds = Hangok -sounds.mp3_wav_flv = MP3/WAV/FLV -sounds.flv = FLV (Csak hang) -sounds.mp3_wav = MP3/WAV -sounds.wav = WAV - -scripts = Szkriptek -scripts.as = ActionScript -scripts.pcode = P-code -scripts.pcode_hex = P-code \u00e9s Hexa -scripts.hex = Hexa -scripts.constants = Konstansok - -binaryData = Binary data -binaryData.raw = Nyers - -dialog.title = Export\u00e1l\u00e1s... - -button.ok = OK -button.cancel = M\u00e9gse - -morphshapes = Morph alakzatok -morphshapes.gif = GIF -morphshapes.svg = SVG -morphshapes.canvas = HTML5 V\u00e1szon - -frames = Keretek -frames.png = PNG -frames.gif = GIF -frames.avi = AVI -frames.svg = SVG -frames.canvas = HTML5 V\u00e1szon -frames.pdf = PDF -frames.bmp = BMP - -buttons = Gombok -buttons.png = PNG -buttons.svg = SVG -buttons.bmp = BMP - -fonts = Bet\u0171t\u00edpusok -fonts.ttf = TTF -fonts.woff = WOFF - -zoom = Nagy\u00edt\u00e1s -zoom.percent = % -zoom.invalid = \u00c9rv\u00e9nytelen nagy\u00edt\u00e1si \u00e9rt\u00e9k. - -symbolclass = Szimb\u00f3lum oszt\u00e1ly -symbolclass.csv = CSV +# Copyright (C) 2010-2015 JPEXS +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +shapes = Alakzatok +shapes.svg = SVG +shapes.png = PNG +shapes.bmp = BMP +shapes.canvas = HTML5 V\u00e1szon + +texts = Sz\u00f6vegek +texts.plain = Egyszer\u0171 sz\u00f6veg +texts.formatted = Form\u00e1zott sz\u00f6veg +texts.svg = SVG + +images = K\u00e9pek +images.png_gif_jpeg = PNG/GIF/JPEG +images.png = PNG +images.jpeg = JPEG +images.bmp = BMP + +movies = Mozg\u00f3k\u00e9pek +movies.flv = FLV (Hang n\u00e9lk\u00fcl) + +sounds = Hangok +sounds.mp3_wav_flv = MP3/WAV/FLV +sounds.flv = FLV (Csak hang) +sounds.mp3_wav = MP3/WAV +sounds.wav = WAV + +scripts = Szkriptek +scripts.as = ActionScript +scripts.pcode = P-code +scripts.pcode_hex = P-code \u00e9s Hexa +scripts.hex = Hexa +scripts.constants = Konstansok + +binaryData = Binary data +binaryData.raw = Nyers + +dialog.title = Export\u00e1l\u00e1s... + +button.ok = OK +button.cancel = M\u00e9gse + +morphshapes = Morph alakzatok +morphshapes.gif = GIF +morphshapes.svg = SVG +morphshapes.canvas = HTML5 V\u00e1szon + +frames = Keretek +frames.png = PNG +frames.gif = GIF +frames.avi = AVI +frames.svg = SVG +frames.canvas = HTML5 V\u00e1szon +frames.pdf = PDF +frames.bmp = BMP + +buttons = Gombok +buttons.png = PNG +buttons.svg = SVG +buttons.bmp = BMP + +fonts = Bet\u0171t\u00edpusok +fonts.ttf = TTF +fonts.woff = WOFF + +zoom = Nagy\u00edt\u00e1s +zoom.percent = % +zoom.invalid = \u00c9rv\u00e9nytelen nagy\u00edt\u00e1si \u00e9rt\u00e9k. + +symbolclass = Szimb\u00f3lum oszt\u00e1ly +symbolclass.csv = CSV diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_nl.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_nl.properties index bbeefc090..337d44039 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_nl.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_nl.properties @@ -22,7 +22,7 @@ texts.plain = Platte tekst texts.formatted = Geformatteerde tekst images = Images -images.png_jpeg = PNG/JPEG +images.png_gif_jpeg = PNG/GIF/JPEG images.png = PNG images.jpeg = JPEG images.bmp = BMP diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_pl.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_pl.properties index 1962f6922..27f4912d7 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_pl.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_pl.properties @@ -24,7 +24,7 @@ texts.formatted = Sformatowany tekst texts.svg = SVG images = Obrazy -images.png_jpeg = PNG/JPEG +images.png_gif_jpeg = PNG/GIF/JPEG images.png = PNG images.jpeg = JPEG images.bmp = BMP diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_pt.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_pt.properties index 8b3c73fa5..d9a1e81e0 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_pt.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_pt.properties @@ -22,7 +22,7 @@ texts.plain = Texto simples texts.formatted = Texto Formatador images = Imagens -images.png_jpeg = PNG/JPEG +images.png_gif_jpeg = PNG/GIF/JPEG images.png = PNG images.jpeg = JPEG images.bmp = BMP diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_pt_BR.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_pt_BR.properties index 655b10b08..56633f361 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_pt_BR.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_pt_BR.properties @@ -22,7 +22,7 @@ texts.plain = Texto simples texts.formatted = Texto Formatador images = Imagens -images.png_jpeg = PNG/JPEG +images.png_gif_jpeg = PNG/GIF/JPEG images.png = PNG images.jpeg = JPEG images.bmp = BMP diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_ru.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_ru.properties index 56674fef8..b95b2977a 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_ru.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_ru.properties @@ -24,7 +24,7 @@ texts.formatted = \u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u texts.svg = SVG images = \u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f -images.png_jpeg = PNG/JPEG +images.png_gif_jpeg = PNG/GIF/JPEG images.png = PNG images.jpeg = JPEG images.bmp = BMP diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_sv.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_sv.properties index d673e0a68..d34bf73b5 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_sv.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_sv.properties @@ -1,78 +1,78 @@ -# Copyright (C) 2010-2015 JPEXS -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -shapes = Former -shapes.svg = SVG -shapes.png = PNG -shapes.bmp = BMP -shapes.canvas = HTML5 Canvas - -texts = Texter -texts.plain = Oformaterad text -texts.formatted = Formaterad text -texts.svg = SVG - -images = Bilder -images.png_jpeg = PNG/JPEG -images.png = PNG -images.jpeg = JPEG -images.bmp = BMP - -movies = Filmer -movies.flv = FLV (Inget Ljud) - -sounds = Ljud -sounds.mp3_wav_flv = MP3/WAV/FLV -sounds.flv = FLV (Bara ljud) -sounds.mp3_wav = MP3/WAV -sounds.wav = WAV - -scripts = Scripts -scripts.as = AS -scripts.pcode = P-code -scripts.pcode_hex = P-code med Hex -scripts.hex = Hex - -binaryData = Bin\u00e4r data -binaryData.raw = Raw - -dialog.title = Exportera... - -button.ok = Godk\u00e4nn -button.cancel = Avbryt - -morphshapes = Morphshapes -morphshapes.gif = GIF -morphshapes.svg = SVG -morphshapes.canvas = HTML5 Canvas - -frames = Frames -frames.png = PNG -frames.gif = GIF -frames.avi = AVI -frames.svg = SVG -frames.canvas = HTML5 Canvas -frames.pdf = PDF -frames.bmp = BMP - -fonts = Typnitt -fonts.ttf = TTF -fonts.woff = WOFF - -zoom = Zoom -zoom.percent = % -zoom.invalid = Ogiltigt zoomv\u00e4rde. - -symbolclass = Symbol Klass -symbolclass.csv = CSV +# Copyright (C) 2010-2015 JPEXS +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +shapes = Former +shapes.svg = SVG +shapes.png = PNG +shapes.bmp = BMP +shapes.canvas = HTML5 Canvas + +texts = Texter +texts.plain = Oformaterad text +texts.formatted = Formaterad text +texts.svg = SVG + +images = Bilder +images.png_gif_jpeg = PNG/GIF/JPEG +images.png = PNG +images.jpeg = JPEG +images.bmp = BMP + +movies = Filmer +movies.flv = FLV (Inget Ljud) + +sounds = Ljud +sounds.mp3_wav_flv = MP3/WAV/FLV +sounds.flv = FLV (Bara ljud) +sounds.mp3_wav = MP3/WAV +sounds.wav = WAV + +scripts = Scripts +scripts.as = AS +scripts.pcode = P-code +scripts.pcode_hex = P-code med Hex +scripts.hex = Hex + +binaryData = Bin\u00e4r data +binaryData.raw = Raw + +dialog.title = Exportera... + +button.ok = Godk\u00e4nn +button.cancel = Avbryt + +morphshapes = Morphshapes +morphshapes.gif = GIF +morphshapes.svg = SVG +morphshapes.canvas = HTML5 Canvas + +frames = Frames +frames.png = PNG +frames.gif = GIF +frames.avi = AVI +frames.svg = SVG +frames.canvas = HTML5 Canvas +frames.pdf = PDF +frames.bmp = BMP + +fonts = Typnitt +fonts.ttf = TTF +fonts.woff = WOFF + +zoom = Zoom +zoom.percent = % +zoom.invalid = Ogiltigt zoomv\u00e4rde. + +symbolclass = Symbol Klass +symbolclass.csv = CSV diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_uk.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_uk.properties index 56291269c..85090f255 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_uk.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_uk.properties @@ -22,7 +22,7 @@ texts.plain = \u0417\u0432\u0438\u0447\u0430\u0439\u043d\u0438\u0439 \u0442\u043 texts.formatted = \u0424\u043e\u0440\u043c\u0430\u0442\u043e\u0432\u0430\u043d\u0438\u0439 \u0442\u0435\u043a\u0441\u0442 images = \u0417\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f -images.png_jpeg = PNG/JPEG +images.png_gif_jpeg = PNG/GIF/JPEG images.png = PNG images.jpeg = JPEG images.bmp = BMP diff --git a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_zh.properties b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_zh.properties index aea7b2ae3..aa7122315 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_zh.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/ExportDialog_zh.properties @@ -22,7 +22,7 @@ texts.plain = \u7eaf\u6587\u672c texts.formatted = \u683c\u5f0f\u5316\u7684\u6587\u672c images = \u56fe\u7247 -images.png_jpeg = PNG/JPEG +images.png_gif_jpeg = PNG/GIF/JPEG images.png = PNG images.jpeg = JPEG images.bmp = BMP