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

Non-9 patch Asset Generation #206

Closed
mzhukovs opened this issue Jul 4, 2019 · 3 comments
Closed

Non-9 patch Asset Generation #206

mzhukovs opened this issue Jul 4, 2019 · 3 comments

Comments

@mzhukovs
Copy link

mzhukovs commented Jul 4, 2019

First off, thanks for the awesome tools, and the video on working with resources in Android on YouTube. Great stuff!

A potential enhancement I'd like to suggest (let me know if I am missing something, but this doesn't seem to be possible right now, unless you use the launcher icon option with no shape background but the downloaded files appear in mipmap instead of drawable in that case):

For images that we don't actually want to be stretched in any way, and therefore we set the stretch regions to zero on all 4 sides while on the "Stretch region" edit mode, then the resulting asset files should

  1. not have the .9 suffix
  2. not have the black lines on the sides

Also, while in that "Stretch region" edit mode, to make this easier, would be nice to have a convenience button in that lower toolbar that says "No Stretch" so user can click that instead of dragging the lines to zero manually.

Thoughts?

@mzhukovs mzhukovs changed the title Non-9 patch Non-9 patch Asset Generation Jul 4, 2019
@romannurik
Copy link
Owner

Oh so you're looking for a generic image resizing tool? There are several other generators that can do that... Can you be more specific maybe on the use case you're trying to achieve?

@mzhukovs
Copy link
Author

mzhukovs commented Jul 5, 2019

Thanks for the quick response. And haha yes basically - I just need all the different asset sizes and the image should not be stretched - i did run accross some other ones but didn't think they were as nice as yours and it seemed like being able to do this in your suite of tools would be a nice/easy fit. Do you have one you'd recommend?

@romannurik
Copy link
Owner

This is a dup of #9 ... I'd assume there are lots of more generic tools that can do that, but it's a fair request. (but this is a duplicate so closing this one out)

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

No branches or pull requests

2 participants