File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getScaledInstance() brightens Grayscale images - need to adjust contrast, brightness

 
Matt Wilcko
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apply getScaledInstance to an RGB image works fine. Applying it to a Grayscale image causes the image to lighten significantly(I guess this is a known issue). Is there any way I could adjust the contrast and brightness after the getScaledInstance is applied? Example code would be great!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic