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

3
LINES

< > BotCompany Repo | #1019519 // rgbScaleToWidth - scale RGBImage to width

JavaX fragment (include)

1  
static RGBImage rgbScaleToWidth(RGBImage img, int w) {
2  
  ret rgbScale(img, doubleRatio(w, img.getWidth()));
3  
}

Author comment

Began life as a copy of #1006817

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019519
Snippet name: rgbScaleToWidth - scale RGBImage to width
Eternal ID of this version: #1019519/1
Text MD5: 6e9de5fe3d76be7ff6d4b6082ac1b80a
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-11 19:06:31
Source code size: 111 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 248 / 274
Referenced in: [show references]