Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1033681 // scaledBWImageFromBWIntegralImage_withMeta (+_height)

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (13349L) is out of date.

1  
static BWImage scaledBWImageFromBWIntegralImage_withMeta(int w, IBWIntegralImage img) {
2  
  ret scaledBWImageFromBWIntegralImage_withMeta(img, w);
3  
}
4  
  
5  
static BWImage scaledBWImageFromBWIntegralImage_withMeta_height(int h, IBWIntegralImage img) {
6  
  ret scaledBWImageFromBWIntegralImage_withMeta(img, widthForHeight(img, h), h);
7  
}
8  
  
9  
static BWImage scaledBWImageFromBWIntegralImage_withMeta(IBWIntegralImage img, int w, int h default heightForWidth(img, w)) {
10  
  ScaledBWImageFromBWIntegralImage x = new(img, w, h);
11  
  x.run();
12  
  ret setMetaSrc(x.result, x);
13  
}

Author comment

Began life as a copy of #1033677

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033681
Snippet name: scaledBWImageFromBWIntegralImage_withMeta (+_height)
Eternal ID of this version: #1033681/8
Text MD5: e3747aa99ecab0a206f975d9debc6d50
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:19:30
Source code size: 567 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 157 / 268
Version history: 7 change(s)
Referenced in: [show references]