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

3
LINES

< > BotCompany Repo | #1006394 // rgbTall - is an RGBImage taller than wide?

JavaX fragment (include)

static bool rgbTall(RGBImage img, float ratio) {
  ret img.h()/(float) img.w() >= ratio;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006394
Snippet name: rgbTall - is an RGBImage taller than wide?
Eternal ID of this version: #1006394/1
Text MD5: 36c189baa5d0266eb8f2d9e577cb6394
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-30 00:22:02
Source code size: 92 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 423 / 450
Referenced in: [show references]