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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -