Source code for algorithms used in IrfanView?

Discussion in 'Photoshop Tutorials' started by Ramon F Herrera, Dec 23, 2006.

  1. 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
     
    Ramon F Herrera, Dec 23, 2006
    #1
    1. Advertisements

  2. Hi Ramon,
    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, Dec 23, 2006
    #2
    1. Advertisements

  3. 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
     
    Ramon F Herrera, Dec 23, 2006
    #3
  4. Ramon F Herrera

    Al Dykes Guest


    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/
     
    Al Dykes, Dec 23, 2006
    #4
  5. Hi Al,
    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, Dec 23, 2006
    #5
  6. Surf for Imagemagick (correct spelling). It includes source code.
     
    news.supernet.com, Dec 23, 2006
    #6
  7. Ramon F Herrera

    Mike Russell Guest

    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, Dec 23, 2006
    #7
  8. Ramon F Herrera

    John Nagle Guest

    http://www.graphicsgems.org

    John Nagle
     
    John Nagle, Dec 24, 2006
    #8
  9. Ramon F Herrera, Dec 24, 2006
    #9
  10. Ramon F Herrera, Dec 24, 2006
    #10
  11. Ramon F Herrera, Dec 24, 2006
    #11
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.