Java Picture Processing Framework -


1) load picture byte array.

2) verify it's current picture size.

3) resize picture according needs.

is there out of box java framework can me it?

thanks in advance.

actually, java's default packages should enough:

  1. to load image use javax.imageio.imageio.read(...)
  2. to it's size use getwidth() , getheight() of returned bufferedimage object
  3. to resize image, can: create new image (bufferedimage), acquire it's grahpics objects, set transformation, , draw original image.

refer java working images tutorial


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -