You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.
If I'm processing images for a specific platform version for example, I want the resized versions to be placed in the appropriate folder.
At the moment, the command aaresize -d xxhdpi res/drawable-xxhdpi-v9/*.png creates resized versions in res/drawable-xhdpi instead of res/drawable-xhdpi-v9.
The text was updated successfully, but these errors were encountered:
Looks like you're going to have to parse the stack of qualifiers in the source path, probably in get_out_for_density() (in the case where the source file is in a res/drawable directory).
As long as you're doing that, perhaps you can dynamically figure out the source density, so that the command-line doesn't have to specify it (again, only for those cases where the source file is within a drawable directory).
Thanks for considering this. Very useful script by the way, thank you for providing it!
If I'm processing images for a specific platform version for example, I want the resized versions to be placed in the appropriate folder.
At the moment, the command
aaresize -d xxhdpi res/drawable-xxhdpi-v9/*.png
creates resized versions inres/drawable-xhdpi
instead ofres/drawable-xhdpi-v9
.The text was updated successfully, but these errors were encountered: