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

Implemented support for JPEG type 6 (old style) #28

Merged
merged 4 commits into from
Apr 8, 2018

Conversation

syvaidya
Copy link
Contributor

@syvaidya syvaidya commented Apr 8, 2018

PR for #7

Please note that all the changes that you see other than "_decodeOldJPEG" and related methods are cosmetic changes (typo fix, consistent braces/tabs, etc.) Only extra change is near "_copyTile" call. For type 6 compression, that was not required so I put an if condition.

@photopea photopea merged commit 2699cb4 into photopea:master Apr 8, 2018

if(data[off]!=255 || data[off+1]!=SOS)
{
buff.set(jpegData.sosMarker, bufoff);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you named your variable "buffoff", but then you use "bufoff"

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

2 participants