-
Notifications
You must be signed in to change notification settings - Fork 44
Astroneer #10
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
base: master
Are you sure you want to change the base?
Astroneer #10
Changes from all commits
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 |
|---|---|---|
|
|
@@ -19,3 +19,5 @@ venv/ | |
| output/ | ||
|
|
||
| node_modules/ | ||
|
|
||
| resource_lists/astroneer/new_items | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| #! /bin/bash | ||
|
Owner
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. I dont think this file is necessary without also including the scraper itself. Feel free to either remove this file or move this file to |
||
|
|
||
| rep_image=/home/orgams/git/ResourceCalculator/resource_lists/astroneer | ||
|
|
||
| # Récuperer la liste de toutes les nouvelles image d'item | ||
| for image in `find $rep_image/new_items/* -type f` | ||
| do | ||
| resolution=64x64 | ||
| convert $image -gravity Center -resize $resolution^ -extent $resolution -transparent white $rep_image/items/${image##*/} | ||
| done | ||
|
|
||
| # convertir en png de résolution 64x64 en zoomant si ce n'est pas carrer et l'enregister avec le même nom .png dans le rep item | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the comment on
converti_image_item.sh