使用sun提供的圖像管理工具包 Jimi1_0 版本,保存PICT文件格式時輸出的圖像寬、高和內存中的圖像源一致,可是顯示出來卻是純白的。這是 Jimi1_0 版本對寫Pict格式的一處 BUG,下載了新的補訂類PICTWriter.java?重新編譯成PICTWriter.class加入 JimiProClasses.zip 中覆蓋原有的 PICTWriter.class,遂寫 PICT 格式成功。
參考:http://amug.org/~glguerin/other/index.html#PICTWriter
提醒:編譯 PICTWriter.java 時需要兼容JDK以前的版本。