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

5
LINES

< > BotCompany Repo | #1035222 // FastDownscale2x2 - downscales each 2x2 block of a color BufferedImage to one pixel

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

Libraryless. Click here for Pure Java version (9595L/55K).

sclass FastDownscale2x2 {
  static final int scaleX = 2, scaleY = scaleX;
  
  !include #1035221 // FastDownscale Include v2
}

Author comment

Began life as a copy of #1035216

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035222
Snippet name: FastDownscale2x2 - downscales each 2x2 block of a color BufferedImage to one pixel
Eternal ID of this version: #1035222/1
Text MD5: 3ba38c4d12b75bcdcda3b5eed2eae3cc
Transpilation MD5: c42e340bca2217b6b33c57eaf9dc719f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-15 18:29:42
Source code size: 130 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 64 / 106
Referenced in: [show references]