Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kalwalt/emscripten-jpegreader
A simple jpeg reader developed with Emscripten and WebARKitLib.
https://github.com/kalwalt/emscripten-jpegreader
emscripten jpeg libjpeg webarkit webarkitlib webassembly
Last synced: 3 days ago
JSON representation
A simple jpeg reader developed with Emscripten and WebARKitLib.
- Host: GitHub
- URL: https://github.com/kalwalt/emscripten-jpegreader
- Owner: kalwalt
- Created: 2020-12-25T22:55:05.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-17T21:05:40.000Z (almost 3 years ago)
- Last Synced: 2024-10-13T04:57:53.233Z (about 1 month ago)
- Topics: emscripten, jpeg, libjpeg, webarkit, webarkitlib, webassembly
- Language: JavaScript
- Homepage:
- Size: 3.27 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Emscripten-JpegReader
A simple project to read Jpeg files thanks to Emscripten. very useful if you want to start with the libjpeg library included in [Emscripten](https://emscripten.org/).
## Example to test
Go to examples folder and try in a localhost server the **load_jpeg_example.html** example. You will see in the console some messages displaying basic information about the jpeg image:
- Number of channels
- Size of the image
- DPI
## Coding
JpegReader is based on [WebARKitLib](https://github.com/WebARKitLib) a simplified version of the ARToolkit5 library. It is used in other projects like [ARnft](https://github.com/webarkit/ARnft) and [jsartoolkitNFT](https://github.com/webarkit/jsartoolkitNFT).
JpegReader can be very useful to setup project if you want to use jpeglib with Emscripten. The code is developed with modern javscript ES6 and the webpack bundler.