Skip to content

Jocaetano/image-JPEG2000

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-JPEG2000

Support repository for a fork of Mozilla's PDF.js that adds support for 16 bit signed grayscale JPEG2000 images.

Build

git submodule init
git submodule update
npm install
grunt

Usage

  jpxImage.parse(jpxData);
  var width = jpxImage.width;
  var height = jpxImage.height;
  var pixelData = jpxImage.tile.items;

jpxData: a Uint8 buffer containing the JPEG2000 code-stream. pixelData: a Int16 containing the decoded data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 77.2%
  • JavaScript 21.7%
  • MATLAB 1.1%