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

11
LINES

< > BotCompany Repo | #1025674 // linux64_registerWebPReader

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

Uses 0K of libraries. Click here for Pure Java version (4034L/28K).

1  
lib 1400305
2  
static LS _stickyLibs_linux64_registerWebPReader = ll(#1400305);
3  
4  
svoid linux64_registerWebPReader() {
5  
  if (!hasImageReaderForType("image/webp")) {
6  
    print("Registering WebP reader");
7  
    loadNative(#1400306);
8  
    javax.imageio.spi.IIORegistry.getDefaultInstance().registerServiceProvider(new com.luciad.imageio.webp.WebPImageReaderSpi());
9  
    assertTrue("WebP image reader loaded", hasImageReaderForType("image/webp"));
10  
  }
11  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025674
Snippet name: linux64_registerWebPReader
Eternal ID of this version: #1025674/3
Text MD5: 5e3449c7854ece9e5ffc7541c41be83d
Transpilation MD5: 6983f8189d3beee47600b480bba8172b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-13 17:53:33
Source code size: 451 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 170 / 242
Version history: 2 change(s)
Referenced in: [show references]