Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct GdkPixbuf byte length and simplify decoder #2

Merged
merged 2 commits into from Oct 23, 2014
Merged

Correct GdkPixbuf byte length and simplify decoder #2

merged 2 commits into from Oct 23, 2014

Conversation

dmazary
Copy link
Collaborator

@dmazary dmazary commented Oct 23, 2014

Merge decoder updates from pjanouch

Přemysl Janouch added 2 commits March 25, 2014 22:47
The one extra loading buffer was completely unnecessary for incremental loading.
Data can be decoded directly into the pixbuf.  By removing the buffer, both
memory and computational complexity improves significantly.

The pixel data is now initialised to 0x00, so that the user doesn't receive
random garbage while the picture is still loading.

I also inlined the function I added in my recent commit.
At least not necessarily, as per documentation.
dmazary added a commit that referenced this pull request Oct 23, 2014
Correct GdkPixbuf byte length and simplify decoder
@dmazary dmazary merged commit 7dcf1fd into aruiz:master Oct 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant