From e6b64d2675931f02af356818345bb90b9bafa2a3 Mon Sep 17 00:00:00 2001 From: Robert Greene Date: Tue, 16 Dec 2003 03:40:55 +0000 Subject: [PATCH] Added PNG handler. --- .../applecommander/storage/filters/imagehandlers/SwtImage.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/webcodepro/applecommander/storage/filters/imagehandlers/SwtImage.java b/src/com/webcodepro/applecommander/storage/filters/imagehandlers/SwtImage.java index 34868b1..26271e5 100644 --- a/src/com/webcodepro/applecommander/storage/filters/imagehandlers/SwtImage.java +++ b/src/com/webcodepro/applecommander/storage/filters/imagehandlers/SwtImage.java @@ -71,6 +71,8 @@ public class SwtImage extends AppleImage { format = SWT.IMAGE_GIF; } else if ("JPEG".equals(getFileExtension())) { format = SWT.IMAGE_JPEG; + } else if ("PNG".equals(getFileExtension())) { + format = SWT.IMAGE_PNG; } imageLoader.save(outputStream, format); }