Qbasicnews.com
November 27, 2021, 05:45:07 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Lanczos3/Mitchell/Spline/Triangle algorithms?  (Read 4103 times)
adosorken
*/-\*
*****
Posts: 3655



WWW
« on: November 01, 2004, 06:38:23 PM »

Does anyone know where I can find some BASIC or C code examples of any of these algorithms in use? I've looked on google for what seems like ages now...maybe I'm using incorrect keywords or something but...

For those who don't know, these are algorithms often used in image resizing. The reason I'm looking into them is because my own algorithm used in DeskQueen isn't quite up to par with what I want to do, and I'm looking to replace it with an algorithm already in use and of the efficiency and quality I'm looking for. I've read that Spline is arguably the best for image upsizing, and Lanczos3 is the best for downsizing. So...anyone know of any good links?
Logged

I'd knock on wood, but my desk is particle board.
oracle
*/-\*
*****
Posts: 3652



WWW
« Reply #1 on: November 01, 2004, 06:52:39 PM »

I dunno if you've heard of the GD library - you probably have, in any case it's the library that php uses for its image functions. It's written in C, maybe it has implementations of those algos in it?

http://boutell.com/gd
Logged

adosorken
*/-\*
*****
Posts: 3655



WWW
« Reply #2 on: November 01, 2004, 07:50:41 PM »

404. Sad and yeah, I've heard of gd...I've used gd2 in a few sites for thumbnailing routines. It doesn't appear to use the algorithms though. I did find some sourcecode on PSC, but it's a bit hard to follow...I'll keep pluggin away at it though. Cheesy
Logged

I'd knock on wood, but my desk is particle board.
wildcard
*.*
Administrator
__/--\__
*****
Posts: 2370



« Reply #3 on: November 01, 2004, 07:54:38 PM »

I got the 404 too seems the server is set to only receive with the 3 w's http://www.boutell.com/gd/
Logged
oracle
*/-\*
*****
Posts: 3652



WWW
« Reply #4 on: November 01, 2004, 09:50:19 PM »

Dontcha hate servers like that? Smiley. My university actually enforces it before almost everything... we have urls like www.xxx.xxx.xxx.xxx Shocked
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!