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

Fix issue #58 : Add PNG to the mix #217

Merged
merged 4 commits into from
Aug 22, 2022

Conversation

CaptainSifff
Copy link
Contributor

Hi all,
I've fixed a typo and added a section on PNG in order to improve issue #58

Copy link
Contributor

@bobturneruk bobturneruk left a comment

Choose a reason for hiding this comment

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

Thanks for this. It's a really good addition.

I think the terms "RGBA", "luminance" and "palette" are newly introduced to the lesson by this text. I think these could be removed for the list of PNG features and the value of this new text retained, but that's my subjective opinion. Otherwise, please will you define the terms, either here or in the glossary?

@@ -163,7 +163,7 @@ In this case, the `.tif` extension causes the image to be saved as a TIFF.
> the dimensions we want the new image to have, `new_shape`.
>
> Image files on disk are normally stored as whole numbers for space efficiency,
> but tranformations and other math operations often result in
> but transformations and other math operations often result in
Copy link
Contributor

Choose a reason for hiding this comment

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

Good spot!

@CaptainSifff
Copy link
Contributor Author

I simplified the explanation slightly, but chose to add a definition of a luminance channel, since #211 touches upon the important concept of single channel data(We also heard that at CarpentryCon)

Copy link
Contributor

@bobturneruk bobturneruk left a comment

Choose a reason for hiding this comment

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

Thanks @CaptainSifff! I've made a little suggestion - hopefully I've understood what is meant by luminance right.

_episodes/02-image-basics.md Outdated Show resolved Hide resolved
Co-authored-by: bobturneruk <34244196+bobturneruk@users.noreply.github.com>
Copy link
Contributor

@uschille uschille left a comment

Choose a reason for hiding this comment

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

This is great, thanks @CaptainSifff and @bobturneruk!

@tobyhodges tobyhodges merged commit d8375a4 into datacarpentry:gh-pages Aug 22, 2022
@tobyhodges tobyhodges mentioned this pull request Aug 22, 2022
zkamvar pushed a commit that referenced this pull request Apr 25, 2023
Fix issue #58 : Add PNG to the mix
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.

4 participants