Skip to content
Mkyong.com
Mkyong.com
  • Java Frameworks 2025
  • Micronaut
  • Spring Boot
  • Java 8
  • Contact

thumbnail

How to resize an image in Java

November 14, 2020September 29, 2009 by mkyong

This article shows two ways to resize an image (create a thumbnail) in Java. 1. Original Image, 544×184 Below is a Google logo image, width, height 544×184, and file size 14k. Later, we will resize the below image to a new width and height 300×150. 2. Resize an image or create a thumbnail. This Java …

Read more

Categories java Tags image, java, java.io, resize image, thumbnail 16 Comments

Mkyong.com has provided Java and Spring tutorials, guides, and code snippets since 2008. All published articles are simple, easy to understand, and well-tested in our development environment.

Mkyong.com licenses all source code on this website under the MIT License.

Tools
  • Spring Framework
  • Quarkus Framework
  • Micronaut Framework
  • Oracle Java JDK
  • Eclipse Temurin JDK
  • OpenJDK JDK
  • Hibernate ORM
  • Maven Build Tool
  • Gradle Build Tool
  • Tomcat Application Server
  • Docker
Links
  • Maven Central
  • Docker Hub
  • Spring Guides
  • Quarkus Guides
  • Micronaut Guides
  • Martin Fowler
  • AskPython
About
  • About Us
  • Code License
  • Privacy Policy
  • Terms Of Use
  • Contact Us
© 2026 Mkyong.com - Build with Love.