Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saitoha/libsixel-perl


https://github.com/saitoha/libsixel-perl

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# NAME

Image::LibSIXEL - The Perl interface for libsixel (A lightweight, fast implementation of DEC SIXEL graphics codec)

# SYNOPSIS

use Image::LibSIXEL;

$encoder = Image::LibSIXEL::Encoder->new();
$encoder->setopt("w", 400);
$encoder->setopt("p", 16);
$encoder->encode("images/egret.jpg");

$decoder = Image::LibSIXEL::Decoder->new();
$decoder->setopt("i", "images/egret.six");
$decoder->setopt("o", "egret.png");
$decoder->decode();

# DESCRIPTION

This perl module provides wrapper objects for part of libsixel interface.
http://saitoha.github.io/libsixel/

## Class Methods

=Image::LibSIXEL::Encoder->new

Create Encoder object

=Image::LibSIXEL::Decoder->new

Create Decoder object

## Object Methods

=Image::LibSIXEL::Encoder->setopt

=Image::LibSIXEL::Encoder->encode

=Image::LibSIXEL::Decoder->setopt

=Image::LibSIXEL::Decoder->decode

# AUTHOR

Hayaki Saito

# SEE ALSO