My batch jpg resizer works with color images, but grayscale ones become washed out

后端 未结 2 730
悲哀的现实
悲哀的现实 2021-01-16 05:23

I\'ve been having a problem with my Java program. It\'s for resizing images. You drop it into a folder and run it, and it creates a new folder with the resized images. It wo

2条回答
  •  借酒劲吻你
    2021-01-16 05:50

    If jdk's classes and methods are buggy, report the bug to oracle (oh! I wish I could go on saying to SUN..).

    And, while the next release will correct the bug ;), try some work arounds, scaling image by yourself like proposed here.

    Regards, Stéphane

提交回复
热议问题