Git Product home page Git Product logo

ofxgiantimage's Introduction


ofxGiantImage is an addon for openframeworks used to draw giant, large, huge images.


Created by Tim Knapen on 15/03/13.
Updated example to work with with OF 0.8.1 on 14/07/14

www.timknapen.be

 
 This loads and displays huge images.
 To do this it creates a grid of tiles of ofTextures and draws them only when they are necessary.
 
 It has been tested to work very smoothly on 
 Macbook (13-inch, Aluminum, Late 2008) / 2 GHz Intel Core 2 Duo / 8 GB 1333 MHz DDR3 / NVIDIA GeForce 9400M 256 MB
 Mac Mini (2013) / 2,5-GHz dual-core Intel Core i5 / 4 GB (2x 2 GB) 1600-MHz DDR3/ Intel HD Graphics 4000
 on a 2560 x 1400 pixels display
 
 The image used to test is 20.000 × 15.000 pixels ( = 300.000.000 pixels :-)
 Tests were done with OF0062, OF007 and OF 0.8.1
 
 NOTES:
 1. Loading an image of this size will take a while, but don't worry, once it is loaded, the app runs smoothly.
 2. For now, this only works with RGB images.
 3. Draw( x, y, width, height) works a bit different than expected:
 it will not draw the image translated to x,y at the size width,height but it will draw whatever part of the image is contained within the rectangle defined by x, y, width, height.

ofxgiantimage's People

Contributors

timknapen avatar

Watchers

James Cloos avatar guorong Yu avatar

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.