CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2003
    Posts
    16

    Unhappy bilinear stretch with windows api ?

    hello,
    I am looking for a way to stretch an image (2D) using bilinear, trilinear... filters. (if it is with windows api, gdi it would be better)

    The only way I found with windows api is StretchBlt... and its takes only HALFTONE as a parameter (if you want something nice)!!! and with same card devices it's very slow (and does not work with MS98)... too many problems

    I have found same programs that have a fast stretch methodes and where you can choose a lot of stretching technics (linear, bilinear, trilinear...). it's works with most devices that a have tested.

    can anybody help me please
    think you
    the programmer

  2. #2
    Join Date
    Jan 2004
    Posts
    56
    Win API is just for generic purposes. If u want more, I think you should search for some graphic library, or write one for yourself.
    Trust urself!

  3. #3
    Join Date
    Apr 2003
    Posts
    16
    ok !!
    and what about gdi+ ??
    the programmer

  4. #4
    Join Date
    Dec 2001
    Location
    Ontario, Canada
    Posts
    2,236
    The FreeImage library is opensource and can do binlinear scaling and much more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured