473,387 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

generate thumbnail on the fly

Hello!

Does anyone know about an ASP.NET thumbnail script that generate thumbnail
with MAX quality?
Have tested some scripts, but the thumbnail is not getting as good quality
as I need.

This is the best result I have got so far:
Original picture: http://www.kromogkubikk.no/custom/artimgs/bakgard.jpg
Thumb, 128px:
http://www.kromogkubikk.no/custom/im....jpg&width=128

Hope someone can help me with a thumbnail script with superb quality, and
hopefully with animated gif support also?
Thanks :)
Nov 19 '05 #1
4 1977
On Sun, 13 Nov 2005 00:55:35 +0100, Øyvind Isaksen wrote:
Hello!

Does anyone know about an ASP.NET thumbnail script that generate thumbnail
with MAX quality?


You have to understand that when you reduce the size of the image, you
reduce the number of pixels that show detail, thus the level of detail is
severely diminished. Frankly, the thumbnail you're showing looks pretty
darn good to me.
Nov 19 '05 #2
I've noticed the same thing recently. The Image library in .NET is
just not very good at reducing and enlarging images. The calculations
it does when resizing images are too simplistic to get the sort of
results you would see from Photoshop. By the time you get to saving
the resulting thumbnail, the quailty is already lost, so even with 100%
jpeg quality it will still look that bad.

If you need something better, you'll have to find a third party
library.

Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/

---
Get your own Travel Blog, with itinerary maps and photos!
http://www.blogabond.com/

Nov 19 '05 #3

As regards the quality do you have the bicubic filter turned on, that makes
quite a difference. See this tread over at channel 9.

http://channel9.msdn.com/ShowPost.aspx?PostID=135429

Stephen.

"Øyvind Isaksen" <oy****@webressurs.no> wrote in message
news:OC***************@TK2MSFTNGP10.phx.gbl...
Hello!

Does anyone know about an ASP.NET thumbnail script that generate thumbnail
with MAX quality?
Have tested some scripts, but the thumbnail is not getting as good quality
as I need.

This is the best result I have got so far:
Original picture: http://www.kromogkubikk.no/custom/artimgs/bakgard.jpg
Thumb, 128px:
http://www.kromogkubikk.no/custom/im....jpg&width=128

Hope someone can help me with a thumbnail script with superb quality, and
hopefully with animated gif support also?
Thanks :)

Nov 20 '05 #4
I'm searching for the code to do this; can I have it from you?
I need to get thumbnails on the fly for PDF files, do you have a solution
for this?
Feb 2 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Chris Perry | last post by:
How do you create a thumbnail constrained to a box, without distorting and but making where it doesn't fill the box transparent. I'm two thirds there : Size fitImageSize =...
1
by: Espen Evje | last post by:
Hi, I am trying to present the images in a folder as thumbnails in a dynamically created asp:table. I however do not want to save the thumbnails to disk, only show the images in this folder as...
12
by: Jim Michaels | last post by:
I need to generate 2 random numbers in rapid sequence from either PHP or mysql. I have not been able to do either. I get the same number back several times from PHP's mt_rand() and from mysql's...
8
by: barb | last post by:
So that the world at large benefits from our efforts, here is one fully documented way to use Windows Irfanview freeware to create thumbnail web galleries (http://www.irfanview.com). STEP 1:...
11
by: Jane | last post by:
Hi, I need some help (php rookie) to build a thumbnail page using php. I'v a mysql database containing links to the original image files. No thumbnails created so far. It would be nice when...
7
by: oscartheduck | last post by:
Hi folks, I'm trying to alter a program I posted about a few days ago. It creates thumbnail images from master images. Nice and simple. To make sure I can match all variations in spelling of...
8
by: Arno R | last post by:
Hi all. When I need to search for pictures, I always have too choose thumbnail-view manually. Is it possible to open the common dialog in thumbnail-view programmatically? Example ?? At the...
15
tlhintoq
by: tlhintoq | last post by:
I'd like to think I can work out most issues, but this one is kicking my butt. What's worse, is that I know I can't be the first guy to want to add a thumbnail to jpg that doesn't already have one. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.