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

15
LINES

< > BotCompany Repo | #1025672 // WebP Test (WORKS on Linux 64)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 0K of libraries. Click here for Pure Java version (7815L/57K).

!7

lib 1400305

import com.luciad.imageio.webp.*;

p-exp {
  assertTrue("Linux", isLinux64());
  //fixContextClassLoader();
  loadNative(#1400306);
  javax.imageio.spi.IIORegistry.getDefaultInstance().registerServiceProvider(new WebPImageReaderSpi);
  ImageReader reader = ImageIO.getImageReadersByMIMEType("image/webp").next();
  print("Reader: " + reader);
  print("Image: " + ImageIO.read(loadLibrary(#1400307)));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1025672
Snippet name: WebP Test (WORKS on Linux 64)
Eternal ID of this version: #1025672/7
Text MD5: e1161a1b55f68f8c90417f7dcce5a7bc
Transpilation MD5: 5851383a0938696f9f3735dc06835c3f
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-13 17:46:30
Source code size: 433 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 281 / 866
Version history: 6 change(s)
Referenced in: