-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Support saving JPEG comments #6774
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
Changes from 1 commit
d822d85
e9f4858
976ad57
c1d0a00
525c011
e71f7c1
1ed1a3a
e50ae85
399975f
eddc9bd
1d78008
6ca08a4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -278,7 +278,7 @@ ImagingJpegEncode(Imaging im, ImagingCodecState state, UINT8 *buf, int bytes) { | |
|
|
||
| case 4: | ||
|
|
||
| if (context->comment_size > 0) { | ||
| if (context->comment) { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the rest of the code is conditional on they should be the same, but keeping things consistent feels nicer to me
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When you say "the rest of the code", what are you referring to?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, that wasn't explained well
|
||
| jpeg_write_marker(&context->cinfo, JPEG_COM, (unsigned char *)context->comment, context->comment_size); | ||
| } | ||
| state->state++; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.