Class PhotoResizer


  • public class PhotoResizer
    extends Object
    Image resizing utility methods.
    • Constructor Detail

      • PhotoResizer

        public PhotoResizer()
    • Method Detail

      • resizeAvatar

        public static void resizeAvatar​(org.dom4j.Element vCardElement)
      • cropAndShrink

        public static byte[] cropAndShrink​(byte[] bytes,
                                           int targetDimension,
                                           ImageWriter iw)