How to resize an image

How to resize an image

         Before editing an image you need to load your image into cache memory using method Load of the Java class Image. Next, apply Resize method to the image with a new size by selecting new height and width `300x300` in pixels and finally save the result to a file.

Example Java code:

         You can make image sizing proportionally the image width or height by specifying the resizing type by selecting `ResizeType.LanczosResample` parameter:

         The available resize types are listed in the table of the Resize type parameters.