perl-Image-JpegMinimal-0.02-alt1.noarch.rpm


Advertisement

Description

perl-Image-JpegMinimal - create JPEG previews without headers

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Image-JpegMinimal-0.02-alt1.noarch.rpm
Package name perl-Image-JpegMinimal
Package version 0.02
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 32.83 KB
Installed size 32.83 KB
This module implements the ideas from
https://code.facebook.com/posts/991252547593574
to create the data needed for inline previews of images that can be served
within the HTML page while keeping a low overhead of around 250 bytes per
image preview. This is achieved by splitting up the preview image into
a JPEG header which is common to all images and the JPEG image data.
With a Javascript-enabled browser, these previews will be shown until
the request for the real image has finished loading the data. This reduces
the latency and bandwidth needed until the user sees an image.
It turns the following image
=for html
<img width="285" height="427" src="t/data/IMG_7468.JPG" />
<img width="285" height="427" src="../../t/data/IMG_7468.JPG" />
into 250 bytes of image data representing this image:
=for html
<img width="28" height="42" src="t/data/IMG_7468_preview.JPG" />
<img width="28" height="42" src="../../t/data/IMG_7468_preview.JPG" />
The Javascript on the client side then scales and blurs that preview
image to create a very blurry placeholder until the real image data
arrives from the server.
=for html
<img width="285" height="427" src="t/data/IMG_7468_blurred.JPG" />
<img width="285" height="427" src="../../t/data/IMG_7468_blurred.JPG" />
See below for the Javascript needed to reassemble the image data
from the split header and scan data.

Alternatives

Package Version Architecture Repository
perl-Image-JpegMinimal - - -

Requires

Name Value
/usr/share/perl5 -
perl(Imager.pm) -
perl(MIME/Base64.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Image/JpegMinimal.pm) = 0.020
perl-Image-JpegMinimal = 0.02-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Image-JpegMinimal-0.02-alt1.noarch.rpm
Source Package perl-Image-JpegMinimal-0.02-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Image-JpegMinimal rpm package:
    # sudo apt-get install perl-Image-JpegMinimal

Files

Path
/usr/share/doc/perl-Image-JpegMinimal-0.02/Changes
/usr/share/doc/perl-Image-JpegMinimal-0.02/README
/usr/share/doc/perl-Image-JpegMinimal-0.02/README.mkdn
/usr/share/doc/perl-Image-JpegMinimal-0.02/examples/gen-data.pl
/usr/share/perl5/Image/JpegMinimal.pm

See Also

Package Description
perl-Image-Kimdaba-0.5-alt1.noarch.rpm Parser for the KDE Image Database
perl-Image-Kimdaba-scripts-0.5-alt1.noarch.rpm Image-Kimdaba scripts
perl-Image-Magick-Brand-0.01-alt1.noarch.rpm perl module Image-Magick-Brand
perl-Image-Magick-Chart-1.07-alt1.noarch.rpm Use Image::Magick to create charts
perl-Image-Magick-CommandParser-1.04-alt1.noarch.rpm Parse any command line acceptable to convert or mogrify
perl-Image-Magick-Info-0.03-alt1.noarch.rpm Retreive image attributes with Image::Magick
perl-Image-Magick-Iterator-0.01-alt1.noarch.rpm sequentially read Image::Magick object from
perl-Image-Magick-NFPADiamond-1.00-alt1.noarch.rpm This module renders a NFPA diamond using ImageMagick
perl-Image-Magick-PixelMosaic-0.03-alt1.noarch.rpm perl module Image-Magick-PixelMosaic
perl-Image-Magick-PolyText-2.00-alt1.noarch.rpm Draw text along a polyline
perl-Image-Magick-Safer-0.07-alt1.noarch.rpm Wrap Image::Magick Read method to check magic bytes
perl-Image-Magick-Square-1.003-alt1.noarch.rpm perl module Image-Magick-Square
perl-Image-Magick-Stencilize-1.02-alt1.noarch.rpm perl module Image-Magick-Stencilize
perl-Image-Magick-Text-AutoBreak-0.02-alt1.noarch.rpm Utility for auto line break
perl-Image-Magick-Thumbnail-0.06e-alt1.noarch.rpm Produces thumbnail images with ImageMagick
Advertisement
Advertisement