• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1294
  • Last Modified:

Image Resize (using "Lanczos3 Window")

Hey all,

I'm not sure how easy this will be, but I hope that you lot can help ;-)

Basically, I'd like to be able to resize an image, using the "Lanczos3 Window" 'resampling method' (unless any of you know of a better, higher quality method?).

Thanks alot in advance! :-)
[r.D]
0
DrWarezz
Asked:
DrWarezz
  • 5
  • 5
1 Solution
 
kiranhkCommented:
did you look into this

http://jiu.sourceforge.net/
0
 
kiranhkCommented:
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
DrWarezzAuthor Commented:
Thanks kiranhk, I'll check them out..
0
 
DrWarezzAuthor Commented:
Ah right.. not quite what I'm after.. I have PhotoPlus and PhotoShop, so I can perform these tasks myself. But I'd like to be able to achieve this resizing in Java (using the "Lonczos3 Windows" resampling method)..

Any known packages out there that do this?

Thanks,
[r.D]
0
 
kiranhkCommented:
did u check out the JIU project on sourforge i posted above. it does the same using Lonczos3
0
 
DrWarezzAuthor Commented:
Okay, I'll download it -- thanks! :D
[r.D]
0
 
DrWarezzAuthor Commented:
Okay. I've downloaded it.. but I'm having trouble getting it to work.. how do I use it? (It's not very clear :o\).

Can you tell me how to go about using it? Or, in what Source file contains the method to resize, using the "Lanczos3" thing.. ? :-)

ta,
[r.D]
0
 
kiranhkCommented:
Lanczos3Filter is the class which does that....
you can check out the documentation on that....

Resample resample = new Resample();
 resample.setInputImage(image);
resample.setSize(image.getWidth() * 3 / 2, image.getHeight() * 3 / 2);
 resample.setFilter(Resample.FILTER TYPE LANCZOS3);
 resample.process();
 PixelImage scaledImage = resample.getOutputImage();
0
 
DrWarezzAuthor Commented:
Okay, that will do me for now... I may be back for more though :-)

Thanks alot kiranhk.
[r.D]
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now