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

4
LINES

< > BotCompany Repo | #1035895 // jpegRecompress

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

Libraryless. Click here for Pure Java version (9212L/51K).

// quality = 0 to 100
static BufferedImage jpegRecompress(double quality, BufferedImage img) {
  ret fromJPEG(toJPEGWithQuality(quality, img));
}

Author comment

Began life as a copy of #1035888

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1035895
Snippet name: jpegRecompress
Eternal ID of this version: #1035895/1
Text MD5: 71864eb47f8dd651d5eafe9a8fd303a6
Transpilation MD5: 85181b013fc0809731421ec7f4687ec7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-08 18:31:03
Source code size: 148 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 119 / 168
Referenced in: [show references]