DrWarezz
asked on
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]
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]
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.software4win.com/
ASKER
Thanks kiranhk, I'll check them out..
ASKER
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]
Any known packages out there that do this?
Thanks,
[r.D]
did u check out the JIU project on sourforge i posted above. it does the same using Lonczos3
ASKER
Okay, I'll download it -- thanks! :D
[r.D]
[r.D]
ASKER
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]
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]
Lanczos3Filter is the class which does that....
you can check out the documentation on that....
Resample resample = new Resample();
resample.setInputImage(ima ge);
resample.setSize(image.get Width() * 3 / 2, image.getHeight() * 3 / 2);
resample.setFilter(Resampl e.FILTER TYPE LANCZOS3);
resample.process();
PixelImage scaledImage = resample.getOutputImage();
you can check out the documentation on that....
Resample resample = new Resample();
resample.setInputImage(ima
resample.setSize(image.get
resample.setFilter(Resampl
resample.process();
PixelImage scaledImage = resample.getOutputImage();
ASKER
Okay, that will do me for now... I may be back for more though :-)
Thanks alot kiranhk.
[r.D]
Thanks alot kiranhk.
[r.D]