Skip to content
/ dpid Public

"Rapid, Detail-Preserving Image Downscaling"for Golang

License

Notifications You must be signed in to change notification settings

Mishini/dpid

Repository files navigation

Description

"Rapid, Detail-Preserving Image Downscaling" Implementations in Python and Goland

Examples

python:

Python dpid.py "myImage.jpg" 

Golang:

dpid "myImage.jpg"              // downscales using default values
dpid "myImage.jpg" 256          // downscales to 256px width, keeping aspect ratio
dpid "myImage.jpg" 0 256        // downscales to 256px height, keeping aspect ratio
dpid "myImage.jpg" 128 0 0.5    // downscales to 128px width, keeping aspect ratio, using lamdba=0.5
dpid "myImage.jpg" 128 128      // downscales to 128x128px, ignoring aspect ratio
org 200x300 dpid lamdba=0.5 dpid lamdba=0.8
raw200 dpid 0.5 dpid 0.8

About

"Rapid, Detail-Preserving Image Downscaling"for Golang

Resources

License

Stars

Watchers

Forks