Compressor Head on Android is an Android clint that generates image URLs for the Compressor Head web application. It takes various specifications of an image such as its URL or source, width, height, and format (PNG, JPEG or WEBP) as arguments to generate a usable image URL in accordance with the dimensions and format specified.
Compressor Head is a fast web application based on Python to resize images. For a more detailed explanation, visit the Compressor Head project.
-
Fork the repository by clicking on the Fork icon at the top right corner of this page.
-
Clone the repository on to your local machine by running the following commands on git:
git clone https://github.com/[YOUR-USERNAME]/compressor-head-android.git
-
If you need help, refer Forking and Cloning in git. You can also ask for help on the chat.
-
Download and install Android Studio, an IDE for android application development.
-
You will also need to download the Android SDK from the IDE itself.
-
Import the forked repository into Android Studio by clicking on files-->Open and navigate to the directory where you forked the repository.
Via your own android smartphone.
- Enable USB Debugging on your phone.
- Click Run on the Android Studio tool bar, or Shift + F10 to run the app.
By running a virtual device. - Setup a Android Virtual Device in the IDE. - Then running the application by clicking on Run on the Android Studio tool bar, or Shift + F10 and then choose the newly created virtual device to run the app.
- Make your intended changes on your locally cloned repository.
- Commit the changes and push the commit to your forked repository on GitHub.
- Ensure the changes on the commit pushed to your GitHub fork are correct.
- Create a Pull Request requesting to merge the commits on your fork to this repository.
- Write a very conscise but informative pull request message explaining the test cases in your pull request. Remember to use your words wisely.