RGBImageFilter could not set alpha to 0x7f.
-------------------------------------------
Key: JRUBY-6114
URL: https://jira.codehaus.org/browse/JRUBY-6114
Project: JRuby
Issue Type: Bug
Components: Java Integration
Affects Versions: JRuby 1.6.4, JRuby 1.6.3
Environment: Mac OS 10.6.8, rvm 1.8.5, Java HotSpot(TM) 64-Bit Server
VM 1.6.0_26
Reporter: ASAHI,Michiharu
Priority: Minor
Attachments: filter.rb, samplex.jpg
(example)
$ jruby filter.rb samplex.jpg
RangeError: too big for int: 4293848814
(root) at filter.rb:22
If it sets alpha to 0xff in BleachFilter.filterRGB, ImageIcon.new raises
RangeError.
And if it sets alpha to 0x7f, it's OK.(but the distination image is light color)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email