GithubHelp home page GithubHelp logo

csharpimagelibrary's Introduction

CSharpImageLibrary

Image processing library written entirely in C#. This library uses built in Windows codecs as much as possible. This includes the new fancy Windows 8.1+ codecs for DXT1, 3, and 5 loading. For those not on Windows 8.1+, standard GDI+ codecs are used (System.Drawing.Bitmap)

Nuget Package

Current Features

  • Supported formats: DXT1, 3, 5 (maybe 2 and 4 as well) [Otherwise known as BC1,2,3,4,5], V8U8, G8/L8, ATI1, ATI2/3Dc, ARGB, jpg, png, bmp.
  • Reads mips and uses them when saving.
  • Load and save any of the supported formats with, or without, mipmaps.
  • Access to Pixel data (RGBA) for all mipmap levels.
  • Speed seems pretty good.
  • Easy Object Oriented usage.

Usage

ImageEngineImage img = new ImageEngineImage("path to image file", 512) // Loads image at a max dimension of 512. e.g. a 1024x2048 image would be loaded in as a 256x512 image. BitmapImage bitmap = new BitmapImage(img.MipMaps[0]); // Pseudo code of course, but the mipmap is raw pixels, and needs to be encoded to something else.

Overall results for loading (in Debug mode)

None

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.