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

7
LINES

< > BotCompany Repo | #1033312 // scaleImage_bilinear - use Java's "bilinear" scaling

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

Transpiled version (3864L) is out of date.

static BufferedImage scaleImage_bilinear(BufferedImage before, double scaleX, double scaleY default scaleX) {
  ret scaleImageWithOp(before, scaleX, scaleY, AffineTransformOp.TYPE_BILINEAR);
}

static BufferedImage scaleImage_bilinear(double scale, BufferedImage before) {
  ret scaleImage_bilinear(before, scale);
}

Author comment

Began life as a copy of #1003737

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033312
Snippet name: scaleImage_bilinear - use Java's "bilinear" scaling
Eternal ID of this version: #1033312/2
Text MD5: adf0bf7da0505e6456b6cf8cafd63219
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-22 21:29:10
Source code size: 322 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 188 / 240
Version history: 1 change(s)
Referenced in: [show references]