Libraryless. Click here for Pure Java version (8911L/51K).
static BufferedImage scaledBufferedImageFromIntegralImage_withMeta(int w, IIntegralImage img) { ret scaledBufferedImageFromIntegralImage_withMeta(img, w); } static BufferedImage scaledBufferedImageFromIntegralImage_withMeta_height(int h, BufferedImage img) { ret scaledBufferedImageFromIntegralImage_withMeta_height(h, integralImage(img)); } static BufferedImage scaledBufferedImageFromIntegralImage_withMeta_height(int h, IIntegralImage img) { ret scaledBufferedImageFromIntegralImage_withMeta(img, widthForHeight(img, h), h); } static BufferedImage scaledBufferedImageFromIntegralImage_withMeta(IIntegralImage img, int w, int h default heightForWidth(img, w)) { ScaledBufferedImageFromIntegralImage x = new(img, w, h); x.run(); ret setMetaSrc(x.result, x); }
Began life as a copy of #1033681
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034887 |
Snippet name: | scaledBufferedImageFromIntegralImage_withMeta (+_height) |
Eternal ID of this version: | #1034887/3 |
Text MD5: | b1e0600922eba00f2a9e0adf91e1fab1 |
Transpilation MD5: | 1cba01e6ede8b01b6f77a602dde69bb2 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-13 01:25:10 |
Source code size: | 795 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 166 / 228 |
Version history: | 2 change(s) |
Referenced in: | [show references] |