Github user joewitt commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2854#discussion_r200800108
--- Diff:
nifi-nar-bundles/nifi-media-bundle/nifi-media-processors/src/main/java/org/apache/nifi/processors/image/ResizeImage.java
---
@@ -196,4 +187,53 @@ public void process(final InputStream rawIn, final
OutputStream out) throws IOEx
}
}
+ //
https://stackoverflow.com/questions/7951290/re-sizing-an-image-without-losing-quality
--- End diff --
it is polite to cite the source. however, stackoverflow posts cannot be
copied as their origin/licensing is not established or clear. The code to
perform the function you desire needs to be original/authentic or sourced to
ALv2 or category-A compliant code
https://www.apache.org/legal/resolved.html#category-a
We cannot accept this code as-is.
---