This repository has been archived by the owner on Sep 28, 2023. It is now read-only.
forked from mochi/erl_img
-
Notifications
You must be signed in to change notification settings - Fork 13
Add tiff support #8
Open
Mr-Pi
wants to merge
28
commits into
WhatsApp:master
Choose a base branch
from
Mr-Pi:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
Does not support palette images.
Thanks to Tony Rogvall
…files with multiple DateTime values (["2005:09:19 17:32:03",[]]).
Added b&w format for read_info/1. Fixed problem with buggy TIFF file.
…d4917346bf51c9d Bug fix for erl_img
Enhancement to allow reading images already in memory
Added a clearer description of how to include the records.
Update README.md
Previous behavior: read/2 resulted in the pixmap list in the erl_image record being sorted backwards by rownum, due to the use of the idiom of prepending new elements to a list as the function is called recursively (in the fun in read/2 itself). write/2 would sort ascending by rownum, but that would then be reversed via the fun given to lists:foldl, which also builds up the output list by prepending. The pixmap is thus output reversed. New behavior: the pixmap list is kept in ascending order upon read (via lists:reverse in raw_data/7). This is mostly on principle, since in any case, write/2 now sorts *descending* before folding, resulting in the output of the fold winding up being sorted in ascending order, as desired.
Fix flipped PNG on write
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.