novitai / skycompress

Compress the image with binary search algorithm to find best fit dimension and quality
1 stars 0 forks source link

[v2.0] Update README example args #11

Closed LevGun closed 3 weeks ago

LevGun commented 1 month ago

It seems that the middle parameter was removed from this function:

# Compress the image
compressed_img_data = compress_image(img, "rgb", 15000)  # Compress to 15000 bytes in RGB format

It has become:

# Compress the image
compressed_img_data = compress_image(img, 15000)  # Compress to 15000 bytes in RGB format