mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-03 03:25:28 -04:00
Updated readme and todos.
This commit is contained in:
parent
ce87171026
commit
aafdb31a8c
@ -273,7 +273,8 @@ Unless you add `ImageIO.scanForPlugins()` somewhere in your code, the plugins mi
|
|||||||
I addition, servlet contexts dynamically loads and unloads classes (using a new class loader per context).
|
I addition, servlet contexts dynamically loads and unloads classes (using a new class loader per context).
|
||||||
If you restart your application, old classes will by default remain in memory forever (because the next time
|
If you restart your application, old classes will by default remain in memory forever (because the next time
|
||||||
`scanForPlugins` is called, it's another `ClassLoader` that scans/loads classes, and thus they will be new instances
|
`scanForPlugins` is called, it's another `ClassLoader` that scans/loads classes, and thus they will be new instances
|
||||||
in the registry).
|
in the registry). If a read is attempted using one of the remaining ("old") readers, weird exceptions
|
||||||
|
(like `NullPointerException`s when accessing `static final` initialized fields) may occur.
|
||||||
|
|
||||||
To work around both the discovery problem and the resource leak,
|
To work around both the discovery problem and the resource leak,
|
||||||
it is recommended to use the `IIOProviderContextListener` that implements
|
it is recommended to use the `IIOProviderContextListener` that implements
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
- FileChannelImageInputStream/MappedByteBufferImageInputStream
|
||||||
|
- FileChannelCacheImageInputStream
|
||||||
|
- FileChannelImageOutputStream
|
||||||
|
- FileChannelCacheImageOutputStream
|
||||||
|
|
||||||
- Consider creating a raw ImageReader (or util class?) that can read raw bitmaps:
|
- Consider creating a raw ImageReader (or util class?) that can read raw bitmaps:
|
||||||
o Interleaved (A)RGB (as in BMP, PICT, IFF PBM etc) -> A1R1G1B1, A2R2G2B2, ..., AnRnGnNn
|
o Interleaved (A)RGB (as in BMP, PICT, IFF PBM etc) -> A1R1G1B1, A2R2G2B2, ..., AnRnGnNn
|
||||||
o Channeled (A)RGB (as in Photoshop) -> A1A2...An, R1R2...Rn, G1G2...Gn, B1B2...Bn
|
o Channeled (A)RGB (as in Photoshop) -> A1A2...An, R1R2...Rn, G1G2...Gn, B1B2...Bn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user