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]
LVL 9
DrWarezzAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kiranhkCommented:
did you look into this

http://jiu.sourceforge.net/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kiranhkCommented:
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.