Skip to content

Vasilkov Andrew#1

Open
vazik66 wants to merge 3 commits intorailbotan:mainfrom
vazik66:vasilkov_andrew
Open

Vasilkov Andrew#1
vazik66 wants to merge 3 commits intorailbotan:mainfrom
vazik66:vasilkov_andrew

Conversation

@vazik66
Copy link

@vazik66 vazik66 commented Nov 15, 2021

No description provided.

1. Extracted functions
2. Renamed variables
3. Easy to access mosaic size and grayscale step
4. PEP8
1. Replaced cycles with matrix transformations
2. Now usable from terminal
path = input("Enter image path: ")
output_name = input("Enter name of output file: ")
mosaic_size = int(input("Enter mosaic size: "))
grayscale_step = int(input("Enter grayscale step: "))
Copy link
Owner

Choose a reason for hiding this comment

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

На вход подается количество градаций серого, а шаг затем вычисляется исходя из заданного количества.

@railbotan
Copy link
Owner

5

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.

2 participants