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:
- to load image use javax.imageio.imageio.read(...)
- to it's size use getwidth() , getheight() of returned bufferedimage object
- to resize image, can: create new image (bufferedimage), acquire it's grahpics objects, set transformation, , draw original image.
Comments
Post a Comment