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

5
LINES

< > BotCompany Repo | #1019520 // rgbImageAndRect_scaleToWidth

JavaX fragment (include)

static RGBImageAndRect rgbImageAndRect_scaleToWidth(int width, RGBImageAndRect r) {
  RGBImage img = rgbScaleToWidth(r.image, width);
  Rect rect = rescaleRect_imageToImage(r.rect, r.image, img);
  ret RGBImageAndRect(img, rect);
}

Author comment

Began life as a copy of #1019199

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: #1019520
Snippet name: rgbImageAndRect_scaleToWidth
Eternal ID of this version: #1019520/1
Text MD5: 32f205d181490456f9b112253f6667e8
Author: stefan
Category: javax / image recognition
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-11 19:08:43
Source code size: 235 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 259 / 284
Referenced in: [show references]