diff options
Diffstat (limited to 'src/block/mod.rs')
-rw-r--r-- | src/block/mod.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/block/mod.rs b/src/block/mod.rs index e3136bf..645c11d 100644 --- a/src/block/mod.rs +++ b/src/block/mod.rs @@ -7,13 +7,19 @@ mod version; pub use colortable::ColorTable; pub use imagedescriptor::ImageDescriptor; -pub use indexedimage::BlockedImage; +pub use indexedimage::CompressedImage; pub use indexedimage::IndexedImage; pub use screendescriptor::ScreenDescriptor; pub use version::Version; +use crate::writer::ImageBuilder; + pub enum Block { IndexedImage(IndexedImage), - BlockedImage(BlockedImage), Extension(extension::Extension), } + +enum WriteBlock { + ImageBuilder(ImageBuilder), + Block(Block), +} |