usefulness / webp-imageio

Java ImageIO WebP support (includes ARM chips support)
Apache License 2.0
35 stars 5 forks source link

Add binary compatibility validator #97

Closed mateuszkwiecinski closed 1 year ago

mateuszkwiecinski commented 1 year ago

Fixes #92

github-actions[bot] commented 1 year ago

Jar size:

Jar size change: +85.0B (3.0MiB -> 3.0MiB)

Diffuse output:

OLD: diffuse-source-file
NEW: pull-request-artifact.jar

       │         compressed          │        uncompressed        
       ├──────────┬──────────┬───────┼─────────┬──────────┬───────
 JAR   │ old      │ new      │ diff  │ old     │ new      │ diff  
───────┼──────────┼──────────┼───────┼─────────┼──────────┼───────
 class │ 31.8 KiB │ 31.9 KiB │ +77 B │  67 KiB │ 67.1 KiB │ +87 B 
 other │    3 MiB │    3 MiB │  +8 B │ 6.4 MiB │  6.4 MiB │   0 B 
───────┼──────────┼──────────┼───────┼─────────┼──────────┼───────
 total │    3 MiB │    3 MiB │ +85 B │ 6.5 MiB │  6.5 MiB │ +87 B 

 CLASSES │ old │ new │ diff        
─────────┼─────┼─────┼─────────────
 classes │  15 │  15 │ 0 (+4 -4)   
 methods │ 517 │ 517 │ 0 (+28 -28) 
  fields │  47 │  47 │ 0 (+9 -9)
JAR ``` compressed │ uncompressed │ ──────────┬──────────┼──────────┬──────────┤ size │ diff │ size │ diff │ path ──────────┼──────────┼──────────┼──────────┼───────────────────────────────────────────────────────── 4.1 KiB │ +4.1 KiB │ 7.4 KiB │ +7.4 KiB │ + com/luciad/imageio/webp/internal/NativeLoader.class │ -4.1 KiB │ │ -7.3 KiB │ - com/luciad/imageio/webp/NativeLoader.class 3.5 KiB │ +3.5 KiB │ 6.1 KiB │ +6.1 KiB │ + com/luciad/imageio/webp/internal/OSInfo.class │ -3.5 KiB │ │ -6.1 KiB │ - com/luciad/imageio/webp/util/OSInfo.class 829 B │ +829 B │ 1.2 KiB │ +1.2 KiB │ + com/luciad/imageio/webp/internal/StringUtils.class │ -818 B │ │ -1.2 KiB │ - com/luciad/imageio/webp/util/StringUtils.class 790 B │ +790 B │ 1 KiB │ +1 KiB │ + com/luciad/imageio/webp/internal/NativeLoader_1.class │ -767 B │ │ -1 KiB │ - com/luciad/imageio/webp/NativeLoader_1.class 144 B │ +144 B │ 0 B │ 0 B │ + com/luciad/imageio/webp/internal/ │ -136 B │ │ 0 B │ - com/luciad/imageio/webp/util/ 1.7 KiB │ +4 B │ 3.1 KiB │ +9 B │ ∆ com/luciad/imageio/webp/WebP.class ──────────┼──────────┼──────────┼──────────┼───────────────────────────────────────────────────────── 11.1 KiB │ +85 B │ 18.8 KiB │ +87 B │ (total) ```
CLASSES ``` CLASSES: old │ new │ diff ─────┼─────┼─────────── 15 │ 15 │ 0 (+4 -4) + com.luciad.imageio.webp.internal.StringUtils + com.luciad.imageio.webp.internal.NativeLoader_1 + com.luciad.imageio.webp.internal.OSInfo + com.luciad.imageio.webp.internal.NativeLoader - com.luciad.imageio.webp.NativeLoader_1 - com.luciad.imageio.webp.NativeLoader - com.luciad.imageio.webp.util.StringUtils - com.luciad.imageio.webp.util.OSInfo METHODS: old │ new │ diff ─────┼─────┼───────────── 517 │ 517 │ 0 (+28 -28) + com.luciad.imageio.webp.internal.NativeLoader () + com.luciad.imageio.webp.internal.NativeLoader () + com.luciad.imageio.webp.internal.NativeLoader cleanup() + com.luciad.imageio.webp.internal.NativeLoader contentsEquals(InputStream, InputStream) → boolean + com.luciad.imageio.webp.internal.NativeLoader extractAndLoadLibraryFile(String, String, String) → boolean + com.luciad.imageio.webp.internal.NativeLoader getNativeLibraryFolderForTheCurrentOS() + com.luciad.imageio.webp.internal.NativeLoader getTempDir() → File + com.luciad.imageio.webp.internal.NativeLoader getVersion() → String + com.luciad.imageio.webp.internal.NativeLoader hasResource(String) → boolean + com.luciad.imageio.webp.internal.NativeLoader initialize() → boolean + com.luciad.imageio.webp.internal.NativeLoader loadNativeLibrary() + com.luciad.imageio.webp.internal.NativeLoader loadNativeLibrary(String, String) → boolean + com.luciad.imageio.webp.internal.NativeLoader_1 () + com.luciad.imageio.webp.internal.NativeLoader_1 accept(File, String) → boolean + com.luciad.imageio.webp.internal.OSInfo () + com.luciad.imageio.webp.internal.OSInfo () + com.luciad.imageio.webp.internal.OSInfo getArchName() → String + com.luciad.imageio.webp.internal.OSInfo getHardwareName() → String + com.luciad.imageio.webp.internal.OSInfo getNativeLibFolderPathForCurrentOS() → String + com.luciad.imageio.webp.internal.OSInfo getOSName() → String + com.luciad.imageio.webp.internal.OSInfo isAlpine() → boolean + com.luciad.imageio.webp.internal.OSInfo isAndroid() → boolean + com.luciad.imageio.webp.internal.OSInfo main(String[]) + com.luciad.imageio.webp.internal.OSInfo resolveArmArchType() → String + com.luciad.imageio.webp.internal.OSInfo translateArchNameToFolderName(String) → String + com.luciad.imageio.webp.internal.OSInfo translateOSNameToFolderName(String) → String + com.luciad.imageio.webp.internal.StringUtils () + com.luciad.imageio.webp.internal.StringUtils join(List, String) → String - com.luciad.imageio.webp.NativeLoader () - com.luciad.imageio.webp.NativeLoader () - com.luciad.imageio.webp.NativeLoader cleanup() - com.luciad.imageio.webp.NativeLoader contentsEquals(InputStream, InputStream) → boolean - com.luciad.imageio.webp.NativeLoader extractAndLoadLibraryFile(String, String, String) → boolean - com.luciad.imageio.webp.NativeLoader getNativeLibraryFolderForTheCurrentOS() - com.luciad.imageio.webp.NativeLoader getTempDir() → File - com.luciad.imageio.webp.NativeLoader getVersion() → String - com.luciad.imageio.webp.NativeLoader hasResource(String) → boolean - com.luciad.imageio.webp.NativeLoader initialize() → boolean - com.luciad.imageio.webp.NativeLoader loadNativeLibrary() - com.luciad.imageio.webp.NativeLoader loadNativeLibrary(String, String) → boolean - com.luciad.imageio.webp.NativeLoader_1 () - com.luciad.imageio.webp.NativeLoader_1 accept(File, String) → boolean - com.luciad.imageio.webp.util.OSInfo () - com.luciad.imageio.webp.util.OSInfo () - com.luciad.imageio.webp.util.OSInfo getArchName() → String - com.luciad.imageio.webp.util.OSInfo getHardwareName() → String - com.luciad.imageio.webp.util.OSInfo getNativeLibFolderPathForCurrentOS() → String - com.luciad.imageio.webp.util.OSInfo getOSName() → String - com.luciad.imageio.webp.util.OSInfo isAlpine() → boolean - com.luciad.imageio.webp.util.OSInfo isAndroid() → boolean - com.luciad.imageio.webp.util.OSInfo main(String[]) - com.luciad.imageio.webp.util.OSInfo resolveArmArchType() → String - com.luciad.imageio.webp.util.OSInfo translateArchNameToFolderName(String) → String - com.luciad.imageio.webp.util.OSInfo translateOSNameToFolderName(String) → String - com.luciad.imageio.webp.util.StringUtils () - com.luciad.imageio.webp.util.StringUtils join(List, String) → Strin ...✂ ```