Libraryless. Click here for Pure Java version (5148L/33K).
1 | static BWImage bwResizeToHeightSmooth(BWImage img, int h) { |
2 | ret new BWImage(scaleImage(img.getBufferedImage(), ((double) h)/img.getHeight())); |
3 | } |
Began life as a copy of #1007157
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027211 |
Snippet name: | bwResizeToHeightSmooth - resize BWImage smoothly |
Eternal ID of this version: | #1027211/1 |
Text MD5: | e2fe299b8bc615e236a1b4d15045d837 |
Transpilation MD5: | f5cc10fbb99f1e76fdf552ad6db149ae |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-26 11:12:50 |
Source code size: | 148 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 219 / 322 |
Referenced in: | [show references] |