Source code for algorithms used in IrfanView?

RF
Posted By
Ramon F Herrera
Dec 23, 2006
Views
620
Replies
10
Status
Closed
Hello:

I am trying to add fast resizing/resampling operations to my application. I have used as reference the Windows Picture and Fax Viewer and Adobe Photoshop, but I am most impressed by the speed and image quality of IrfanView. I am told that the algorithms used by IrfanView are explained in the book "Graphic Gems III", Edited by David Kirk, which I managed to find (it is out of print). Most importantly, I am told that such source code can be found in some open source programs in the net.

What programs are those? Where can they be downloaded?

Thank you very much for your kind assistance,

-Ramon F Herrera

ps: IrfanView can be found at:

http://www.irfanview.com

The operations I am interested in are those under Control-R

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

AB
Arnor Baldvinsson
Dec 23, 2006
Hi Ramon,

am told that such source code can be found in some open source programs in the net.

What programs are those? Where can they be downloaded?

I’m not familiar with IrfanView, but you could check out the FreeImage Library which is an open source image editing library.
http://freeimage.sourceforge.net/ I have used it in some applications with pretty good results.

Ok, downloaded and installd IrfanView. The ^R functions you can perform using FreeImage. It supports Bilinear, B-Spline, Bicubic (Mitchell) , Catmull-Rom and Lanczos resampling filters as well as box, which I believe is the same as the "resize" option in IrfanView. This library is easy to work with in pretty much any language that supports standard 32bit DLL usage.

Hope this helps:)


Arnor Baldvinsson
San Antonio, Texas
RF
Ramon F Herrera
Dec 23, 2006
Arnor Baldvinsson wrote:
Hi Ramon,

am told that such source code can be found in some open source programs in the net.

What programs are those? Where can they be downloaded?

I’m not familiar with IrfanView, but you could check out the FreeImage Library which is an open source image editing library.
http://freeimage.sourceforge.net/ I have used it in some applications with pretty good results.

Ok, downloaded and installd IrfanView. The ^R functions you can perform using FreeImage. It supports Bilinear, B-Spline, Bicubic (Mitchell) , Catmull-Rom and Lanczos resampling filters as well as box, which I believe is the same as the "resize" option in IrfanView. This library is easy to work with in pretty much any language that supports standard 32bit DLL usage.

Hope this helps:)


Arnor Baldvinsson
San Antonio, Texas

It definitely does. I tried to buy that part of the source code from Irfan, but he told me that he doesn’t want to sell it. He is the one that told me about the book and the code being in the net. Oh well, I’ll take a look a FreeImage, then.

Thanks, Arnor!

-Ramon
A
adykes
Dec 23, 2006
In article ,
Ramon F Herrera wrote:
Hello:

I am trying to add fast resizing/resampling operations to my application. I have used as reference the Windows Picture and Fax Viewer and Adobe Photoshop, but I am most impressed by the speed and image quality of IrfanView. I am told that the algorithms used by IrfanView are explained in the book "Graphic Gems III", Edited by David Kirk, which I managed to find (it is out of print). Most importantly, I am told that such source code can be found in some open source programs in the net.

What programs are those? Where can they be downloaded?

Thank you very much for your kind assistance,

-Ramon F Herrera

ps: IrfanView can be found at:

http://www.irfanview.com

The operations I am interested in are those under Control-R

Look at the code for The Gimp, an open source project that claims to be functionally comparable to Photoshop. I know that it’s in professional/industrial use in some ineresting places.

http://www.gimp.org/


a d y k e s @ p a n i x . c o m
Harrison for Congress in NY 13CD www.harrison06.com
Don’t blame me. I voted for Gore. A Proud signature since 2001
AB
Arnor Baldvinsson
Dec 23, 2006
Hi Al,

Look at the code for The Gimp, an open source project that claims to be functionally comparable to Photoshop. I know that it’s in professional/industrial use in some ineresting places.

http://www.gimp.org/

Thanks for the link:) I will most certainly take a look at that as I’m always looking for some development tools that I could use:) Free is not bad either:)

Arnor Baldvinsson
San Antonio, Texas
JS
John Stafford
Dec 23, 2006
Surf for Imagemagick (correct spelling). It includes source code.
MR
Mike Russell
Dec 23, 2006
Ramon F Herrera wrote:
Hello:

I am trying to add fast resizing/resampling operations to my application. I have used as reference the Windows Picture and Fax Viewer and Adobe Photoshop, but I am most impressed by the speed and image quality of IrfanView. I am told that the algorithms used by IrfanView are explained in the book "Graphic Gems III", Edited by David Kirk, which I managed to find (it is out of print). Most importantly, I am told that such source code can be found in some open source programs in the net.

What programs are those? Where can they be downloaded?

Have you checked out the DirectX api supported by Windows? This should be very fast, since it ties in to the graphics accelerator functions of the video card.

Mike Russell
www.curvemeister.com/forum/
JN
John Nagle
Dec 24, 2006
Ramon F Herrera wrote:
Hello:

I am trying to add fast resizing/resampling operations to my application. I have used as reference the Windows Picture and Fax Viewer and Adobe Photoshop, but I am most impressed by the speed and image quality of IrfanView. I am told that the algorithms used by IrfanView are explained in the book "Graphic Gems III", Edited by David Kirk, which I managed to find (it is out of print). Most importantly, I am told that such source code can be found in some open source programs in the net.

What programs are those? Where can they be downloaded?

http://www.graphicsgems.org

John Nagle
RF
Ramon F Herrera
Dec 24, 2006
John Nagle wrote:
Ramon F Herrera wrote:
Hello:

I am trying to add fast resizing/resampling operations to my application. I have used as reference the Windows Picture and Fax Viewer and Adobe Photoshop, but I am most impressed by the speed and image quality of IrfanView. I am told that the algorithms used by IrfanView are explained in the book "Graphic Gems III", Edited by David Kirk, which I managed to find (it is out of print). Most importantly, I am told that such source code can be found in some open source programs in the net.

What programs are those? Where can they be downloaded?

http://www.graphicsgems.org

John Nagle

Wooooow!! That’s pretty good stuff.

Thanks, John!!

-Ramon
RF
Ramon F Herrera
Dec 24, 2006
Mike Russell wrote:
Ramon F Herrera wrote:
Hello:

I am trying to add fast resizing/resampling operations to my application. I have used as reference the Windows Picture and Fax Viewer and Adobe Photoshop, but I am most impressed by the speed and image quality of IrfanView. I am told that the algorithms used by IrfanView are explained in the book "Graphic Gems III", Edited by David Kirk, which I managed to find (it is out of print). Most importantly, I am told that such source code can be found in some open source programs in the net.

What programs are those? Where can they be downloaded?

Have you checked out the DirectX api supported by Windows? This should be very fast, since it ties in to the graphics accelerator functions of the video card.

Speaking of that, I just read that Acrobat is going to be accelerated also:

http://www.planetpdf.com/enterprise/article.asp?ContentID=NV IDIA%5FGives%5Fa%5FTurbo%5FBoost%5Fto%5FAdobe&gid=7442

-Ramon
RF
Ramon F Herrera
Dec 24, 2006
Ramon F Herrera wrote:
Mike Russell wrote:
Ramon F Herrera wrote:
Hello:

I am trying to add fast resizing/resampling operations to my application. I have used as reference the Windows Picture and Fax Viewer and Adobe Photoshop, but I am most impressed by the speed and image quality of IrfanView. I am told that the algorithms used by IrfanView are explained in the book "Graphic Gems III", Edited by David Kirk, which I managed to find (it is out of print). Most importantly, I am told that such source code can be found in some open source programs in the net.

What programs are those? Where can they be downloaded?

Have you checked out the DirectX api supported by Windows? This should be very fast, since it ties in to the graphics accelerator functions of the video card.

Speaking of that, I just read that Acrobat is going to be accelerated also:

http://www.planetpdf.com/enterprise/article.asp?ContentID=NV IDIA%5FGives%5Fa%5FTurbo%5FBoost%5Fto%5FAdobe&gid=7442

-Ramon

http://www.nvidia.com/object/testimonial_adobe_acrobat8.html

-RFH

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

Related Discussion Topics

Nice and short text about related topics in discussion sections