All Projects → hucool → Wximagecompress

hucool / Wximagecompress

Licence: mit
Image size quality compression, very close to WeChat picture compression strategy

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Wximagecompress

js-image-compressor
A simple image compressor of javascript
Stars: ✭ 100 (-73.4%)
Mutual labels:  image-compression
docker-google-guetzli
Run Google's Guetzli through Docker
Stars: ✭ 17 (-95.48%)
Mutual labels:  image-compression
Tinypng4mac
TinyPNG client for Mac
Stars: ✭ 3,025 (+704.52%)
Mutual labels:  image-compression
neural-imaging
[CVPR'19, ICLR'20] A Python toolbox for modeling and optimization of photo acquisition & distribution pipelines (camera ISP, compression, forensics, manipulation detection)
Stars: ✭ 109 (-71.01%)
Mutual labels:  image-compression
Deep-Image-Compression-Video-Coding
Recent papers and codes related to deep learning/deep neural network based image compression and video coding framework.
Stars: ✭ 69 (-81.65%)
Mutual labels:  image-compression
imgsvd
Shiny App for Image Compression via SVD
Stars: ✭ 22 (-94.15%)
Mutual labels:  image-compression
ImagePicker
Android library to choose image from gallery or camera with option to compress result image
Stars: ✭ 73 (-80.59%)
Mutual labels:  image-compression
Imageflow
High-performance image manipulation for web servers. Includes imageflow_server, imageflow_tool, and libimageflow
Stars: ✭ 3,643 (+868.88%)
Mutual labels:  image-compression
oc-imageresizer-plugin
October CMS Plugin to resize and compress images
Stars: ✭ 44 (-88.3%)
Mutual labels:  image-compression
Compressorjs
JavaScript image compressor.
Stars: ✭ 3,500 (+830.85%)
Mutual labels:  image-compression
svd-image-compression-demo
Demonstration of low rank matrix approximations via singular value decomposition
Stars: ✭ 23 (-93.88%)
Mutual labels:  image-compression
node-flif
A Node wrapper for the FLIF executable
Stars: ✭ 43 (-88.56%)
Mutual labels:  image-compression
Phew
FLIF image viewer and QuickLook plugin for macOS
Stars: ✭ 74 (-80.32%)
Mutual labels:  image-compression
frontend-image-encode
This is script and implementation of frontend image compression, convert, rotate, resize based on codecs in Google/Squoosh. All codecs are copy from the Squoosh repo without modifying. if you want to pre-process images before uploading them to the server, please use this repo for reference
Stars: ✭ 51 (-86.44%)
Mutual labels:  image-compression
Crunch
Crunch is a tool for lossy PNG image file optimization. It combines selective bit depth, color type, and color palette reduction with zopfli DEFLATE compression algorithm encoding using the pngquant and zopflipng PNG optimization tools. This approach leads to a significant file size gain relative to lossless approaches at the expense of a relatively modest decrease in image quality (see example images below).
Stars: ✭ 3,074 (+717.55%)
Mutual labels:  image-compression
CAE-ADMM
CAE-ADMM: Implicit Bitrate Optimization via ADMM-Based Pruning in Compressive Autoencoders
Stars: ✭ 34 (-90.96%)
Mutual labels:  image-compression
libcaesium
The Caesium compression library written in Rust
Stars: ✭ 58 (-84.57%)
Mutual labels:  image-compression
Flif
Free Lossless Image Format
Stars: ✭ 3,668 (+875.53%)
Mutual labels:  image-compression
Compress Images
Minify size your images. Image compression with extension: jpg/jpeg, svg, png, gif. NodeJs
Stars: ✭ 331 (-11.97%)
Mutual labels:  image-compression
Imager
Automated image compression for efficiently distributing images on the web.
Stars: ✭ 266 (-29.26%)
Mutual labels:  image-compression

Requirements

  • iOS 8.0+ | macOS 10.10+ | tvOS 9.0+ | watchOS 2.0+
  • Xcode 8

Integration

CocoaPods (iOS 8+, OS X 10.9+)

pod 'WXImageCompress', '~> 0.1.1'

Usage

import WXImageCompress
let image = UIImage(named: "imageName")!
let thumbImage = image.wxCompress()

Effect comparison

original wechat this
1500 * 4000, 2.5MB 800 * 2134, 325KB 800 * 2134, 306KB
960 * 600, 210KB 960 * 600, 147KB 960 * 600, 147KB
800 * 1280, 595KB 800 * 1280, 140KB 800 * 1280, 142KB
1080 * 1920, 1.8MB 720 * 1280, 139KB 720 * 1280, 140KB
640 * 1136, 505KB 640 * 1136, 68KB 640 * 1136 69KB
4000 * 3000, 497KB 1280 * 960, 140KB 1280 * 960, 139KB
2560 * 1600, 232KB 1280 * 800 112KB 1280 * 800, 112KB
800 * 2138, 307KB 800 * 2134, 649KB 800 * 2138, 599KB
3351 * 1430, 386KB 1874 * 800, 296KB 1875 * 800, 286KB
3000 * 1300, 458KB 1846 * 800 322KB 1847 * 800, 307KB
8323 * 5793, 19.67MB 1280 * 890, 428KB 1280 * 891, 465KB
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].