This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 128198 - image doesn't look good when export as image to jpg format
Summary: image doesn't look good when export as image to jpg format
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Output (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-22 21:04 UTC by Peter Lam
Modified: 2008-03-10 18:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
export as jpg file (7.33 KB, image/png)
2008-02-22 21:05 UTC, Peter Lam
Details
original exported jpg file (3.04 KB, image/jpeg)
2008-02-22 21:06 UTC, Peter Lam
Details
nb6 jpg file (23.81 KB, image/jpeg)
2008-02-22 21:49 UTC, Peter Lam
Details
meteora jpg file (4.98 KB, image/jpeg)
2008-02-22 21:50 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2008-02-22 21:04:31 UTC
See attached for screenshot as it is displayed on the browser.
Comment 1 Peter Lam 2008-02-22 21:05:22 UTC
Created attachment 57103 [details]
export as jpg file
Comment 2 Peter Lam 2008-02-22 21:06:00 UTC
Created attachment 57104 [details]
original exported jpg file
Comment 3 Yang Su 2008-02-22 21:18:11 UTC
what's your jpg compression quality setting? The default is set to 75%, try 100%. Also, jpg is lossy, png is recommended.
Comment 4 Peter Lam 2008-02-22 21:48:48 UTC
yes, using the default 75%. However, in NB6, setting the image quality to 75% is still looking good on the same. See
attached exported jpg file from NB 6.0 (nb6-export-as-jpg-75.jpg) vs a new one from meteora (meteora-export-as-jpg-75.jpg)
Comment 5 Peter Lam 2008-02-22 21:49:22 UTC
Created attachment 57111 [details]
nb6 jpg file
Comment 6 Peter Lam 2008-02-22 21:50:16 UTC
Created attachment 57112 [details]
meteora jpg file
Comment 7 Yang Su 2008-02-26 19:12:09 UTC
there was indeed a bug in float value conversion when setting jpg compression quality value, fixed.
Comment 8 Peter Lam 2008-03-10 18:50:15 UTC
verified in latest build.