Commit Graph

6 Commits

Author SHA1 Message Date
John Hurliman
45e7dd675f CSJ2K:
* Fixed decoding to System.Drawing.Image for single component textures
* Improved exception throwing
* Removed unused ProgressWatch class
* Sanity check for seeking to a negative offset, gracefully handle
* Small speed improvement to the inverse wavelet transform by using Buffer.BlockCopy() and avoiding extra typecasts

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3412 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-05 20:49:03 +00:00
John Hurliman
77e55fa488 CSJ2K improvements (LIBOMV-861):
* J2kImage.FromStream() can now handle five component textures (the fifth component is ignored since System.Drawing.Image only supports up to four components
* Fixed incorrect RGBA ordering for four and five component textures

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3410 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-05 00:32:36 +00:00
John Hurliman
2e87329e3b * Replacing NotImplementedError with System.NotImplementedException
* CSJ2K does not have a helper function for encoding at the moment! Need to look into that

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3143 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-13 22:31:18 +00:00
John Hurliman
8869b9e344 Adding layer boundary tracking and J2kImage.GetLayerBoundaries() function to CSJ2K
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3121 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-01 00:25:27 +00:00
Latif Khalifa
1f9f3ad00b * Fixing lots of warnings and some compile time errors in checked mode in CSJ2K
* Removing CSJ2K.dll from bin/ now that we have it in prebuild.xml

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3119 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-01 00:19:01 +00:00
John Hurliman
eff1ff4b41 * Cleaned up the CSJ2K source (removed unnecessary projects and an unused file) and added it to prebuild.xml
* Fixed a typo in OpenJPEG.J2KLayerInfo (only affected debug display)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3118 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-01 00:09:52 +00:00