B4J Library SahandJPEG - JPEG Compression Library

Discussion in 'B4J Libraries & Classes' started by sahand_123, Oct 11, 2017.

  1. sahand_123

    sahand_123 New Member

    Hi To All Dear Users
    This is a tiny Library that compresses your jpeg images
    its easy to use
    Code:
    Dim sahandjpeg As SahandJPEG
    sahandjpeg.Initialize(
    File.Combine(File.DirApp,"input.jpg"),File.Combine(File.DirApp,"output.jpg"),sahandjpeg.compressionLevels.Q10)
    'sahandjpeg.compressionLevels.Q10 means quality level is 10 percent
     

    Attached Files:

    Last edited: Oct 11, 2017
Loading...