Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumped version number to 0.2. Consolidated processing of downloaded image data. Convert downloaded data to PIL image to allow for transformations. Also, MD5 checksum is computed on the final compressed output. Added an Expander interface to provide an option to explode a downloaded image into multiple images. Can be also used as a filter based on image content. Bug fix for extracting embedded MIME images. Restored line from original source to start decoding from specific offset. Signed-off-by: John Poplett <john.poplett@acm.org>
- Loading branch information
1 parent
de938f2
commit 40073c9
Showing
3 changed files
with
62 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from abc import ABC, abstractmethod | ||
|
||
class Expander(ABC): | ||
@abstractmethod | ||
def expand(self, image): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters