[Mono-list] How to read a JPG into a 2D array of colors?

rygoody rygoody at gmail.com
Mon Jun 20 03:37:03 EDT 2011


Doesn't streaming a progressive jpeg rely on a .NET library?

Unity removed all of the standard things dealing with jpeg decoding, except
for their own implementation, which I am trying to avoid. Their own
implementation seems to do a bunch of stuff on the assumption your loading
the jpg into a compressed DXT1 texture, so it eats up alot more ram and
cycles, which makes it really inconvenient for my use, which is just making
a gallery of jpg's  intended to go in an iOS app.

So I am seeking a jpeg decoder, or ideally a jpeg streamer that is it's own
entirely self-contained c# class.... within reason, Unity does include alot
of the .NET libraries like system.io and system.threading and alot of
others, but nothing dealing with the original .NET Image or Jpeg decoding.

--
View this message in context: http://mono.1490590.n4.nabble.com/How-to-read-a-JPG-into-a-2D-array-of-colors-tp3604716p3610692.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list