Git Product home page Git Product logo

biff-tannen's Introduction

 ______ __  ___   ______                __            
|   __ |__.'  _| |   __ .-----.---.-.--|  .-----.----.
|   __ |  |   _| |      |  -__|  _  |  _  |  -__|   _|
|______|__|__|   |___|__|_____|___._|_____|_____|__|  

About

BIF Reader demostrates how JavaScript can be used to read and render images from a image archive file called BIF.

What Is A BIF File

A BIF file is a binary container format of images at set indices. A BIF file can contain either PNG or JPEG image formats. Resolution and sizing of the images are unlimited. Total file size should be considered.

How Is BIF Used

BIF files are transmitted synchronously for client rendering. A BIF file can contain hundreds of images. It is normally used to transport trickplay preview thumbnails.

How This Works

A BIF file is uploaded to the local client using the HTML5 File API. The BIF file is validated and its header information is read. The first few frames are read at the defined indices. Images are read in-memory and rendered through image tags. The images are encoded as base64 for visual rendering. No disk writes are used. A requested image index can also be displayed.

Whats Used

  1. JavaScript
  2. HTML5 File API

Supported

  1. Latest Chrome (Yes)
  2. Latest Firefox (Yes)
  3. Latest Opera (Yes)
  4. Latest Safari (Yes)
  5. IE 10 (Requires testing)
  6. Samsung TV 3.0 (3.0 SDK supports binary operation)
  7. Mobile Platforms (when cross origin download is supported)

Future Features

  1. Unit testing
    • Coverage 100%
  2. Cross Origin (CORS/xhr2)
    • Download bif file outside local client
  3. Local Storage
    • Save to disk
    • Disk or memory options
    • Caching
  4. WebGL Acceleration
    • Textured images in parallel
    • Swipe acceleration

Goal

A common library approach for most clients that require trickplay.

biff-tannen's People

Stargazers

 avatar

Watchers

 avatar  avatar

biff-tannen's Issues

Create bif to gif exporter.

Allow 4chan to run wild with GOT paraphernalia.

Requirement - allow user to export image to image index with speed and download to gif. This is via the uploaded bif. Client side JavaScript only.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.