• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Lower jpeg resolution in java 2D

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey
I have a number of high resolution jpeg (1 megapixel) and I wish to lower the resolution of each automatically for viewing depending on the specified size the end user wants.
I thought this would be a simple matter of breaking the picture into small squares and averaging the pixels in each one.
However, it turns out that java imaging has a lot more to it than expected and not a lot of resourses apart from the sun programmers guide.
This is quite large and does not deal directly with what I want to do.
Could you please help me with tutorial urls/advice/sample code as I am very new to this area of java.
Thanks,
Brendan
 
We don't have time for this. We've gotta save the moon! Or check this out:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic