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

8
LINES

< > BotCompany Repo | #1009034 // Test isJPEG [OK]

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

Libraryless. Click here for Pure Java version (851L/6K/20K).

!7

p {
  File f = getProgramFile("bla.jpeg");
  saveJPG(newBufferedImage(100, 100, Color.blue), f);
  assertTrue(isJPEG(f));
  print("OK!");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1009034
Snippet name: Test isJPEG [OK]
Eternal ID of this version: #1009034/2
Text MD5: 9b17dece8c4121cc95445fca331dbae1
Transpilation MD5: 55e8781347b4bebb7f92e7ae9b711759
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-28 19:48:10
Source code size: 150 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 461 / 566
Version history: 1 change(s)
Referenced in: