M
M
moved_on2015-03-30 19:56:04
Java
moved_on, 2015-03-30 19:56:04

AQuery down-sampling with height?

Hello. When developing for Andorid, I use the AQuery framework. Very comfortable, everything is great. However, there is a moment that I can’t solve with it or I can’t figure out how to do it. So, we need to implement image downsampling. The library provides the ability to use it based on the size of the image width, that is, adjust the image to the targetWidth. You need to do the same, only under the targetHeigth. If the size of the image was initially known, there would be no problems - we calculate, we set.
There is a post on Habré - habrahabr.ru/company/surfingbird/blog/248647, dedicated just to AQuery. I wanted to ask in the comments, but there is no way. If you do not know the answer to the question, but there is an opportunity to comment on posts on the hub, please, ask this question in the comments, and let us know if you do it.
Thank you very much in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question