Home > General > RMagick4J: Status Update 09/03/09

RMagick4J: Status Update 09/03/09

March 9th, 2009 Serabe Leave a comment Go to comments

Finally I figure out the problem with the convolve method. The code I wrote was only prepared to deal with TYPE_INT_ARGB BufferedImages but when reading a image from a file, it doesn’t ensure this type. Now this is fixed and working.

Furthermore, I added charcoal, solarize and shade effects. The latter gave some problem while testing, but finally the problem was in test not in code. From now on, the to_threshold method must be used in test when dealing with numbers that depend on the QuantumRange. This problem is due that QuantumRange can differ from one ImageMagick installation to another, but RMagick4J always uses 255.

Here you are some examples (the guy that looks like me is actually my non-existent twin brother):

RMagick RMagick4J (This is what I do)
original
original RMagick4J: Status Update 09/03/09 original RMagick4J: Status Update 09/03/09
charcoal 0.75 (RMagick4J is not normalized)
charcoal rmagick RMagick4J: Status Update 09/03/09 charcoal RMagick4J: Status Update 09/03/09
edge 5
edge rmagick RMagick4J: Status Update 09/03/09 edge RMagick4J: Status Update 09/03/09
shade true, 50, 50
shade rmagick RMagick4J: Status Update 09/03/09 shade RMagick4J: Status Update 09/03/09
solarize 27.5/255*QuantumRange
solarize rmagick RMagick4J: Status Update 09/03/09 solarize RMagick4J: Status Update 09/03/09
article clipper RMagick4J: Status Update 09/03/09
 
share save 171 16 RMagick4J: Status Update 09/03/09

Related posts:

  1. RMagick4J: status update
  2. New RMagick4J release.
  3. RMagick4J 0.3.6
Categories: General Tags:
  1. No comments yet.
  1. No trackbacks yet.

Improve the web with Nofollow Reciprocity.