diff options
author | changhyun1.lee <changhyun1.lee@samsung.com> | 2014-08-04 23:12:24 +0900 |
---|---|---|
committer | changhyun Lee <changhyun1.lee@samsung.com> | 2014-08-04 07:15:30 -0700 |
commit | 9a616fc43d8e149a8afd5fae6fe08b135abeb86d (patch) | |
tree | a2c96150fd579bdf79cc908f55829dd050301c37 | |
parent | b550291f9f423a1910cc5014f272a75a0b51ecfe (diff) | |
download | common-eplugin-9a616fc43d8e149a8afd5fae6fe08b135abeb86d.tar.gz common-eplugin-9a616fc43d8e149a8afd5fae6fe08b135abeb86d.tar.bz2 common-eplugin-9a616fc43d8e149a8afd5fae6fe08b135abeb86d.zip |
COMMON: Fixed image format
Change-Id: I7c64c2127375276b9bb3d8aead7f53acf0797b50
Signed-off-by: changhyun1.lee <changhyun1.lee@samsung.com>
(cherry picked from commit 5fabb5733afd853084ac2cccb072278bebb9318b)
-rw-r--r-- | org.tizen.common/src/org/tizen/common/ui/dialog/NewIconDialog.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/org.tizen.common/src/org/tizen/common/ui/dialog/NewIconDialog.java b/org.tizen.common/src/org/tizen/common/ui/dialog/NewIconDialog.java index 035152bed..64bab7e1d 100644 --- a/org.tizen.common/src/org/tizen/common/ui/dialog/NewIconDialog.java +++ b/org.tizen.common/src/org/tizen/common/ui/dialog/NewIconDialog.java @@ -295,7 +295,8 @@ public class NewIconDialog extends SelectionStatusDialog { } else { int imageFormat = SWT.IMAGE_PNG; if ( iconExtension.equalsIgnoreCase(JPG) || iconExtension.equalsIgnoreCase(JPEG) ) { - imageFormat = SWT.IMAGE_JPEG; + // FIXME:: ImageUtil.write(modifiedImgs.get(0), formatName, baos); + imageFormat = SWT.IMAGE_PNG; } ImageLoader loader = new ImageLoader(); loader.data = new ImageData[] { image.getImageData() }; |