By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,320 Members | 1,893 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,320 IT Pros & Developers. It's quick & easy.

How to reduce image file size?

P: n/a
Is there any routine I can call to reduce the size of an image file after
uploading a file from a client. I am looking to reduce file sizes
programmatically using C# in my web page after uploading. I know that
Photoshop can do it but I need to do it dynamically in my web page. I tried
doing it myself with some of the Bitmap thumbnail instructions but the
resulting image is very bad. I need a file reduction routine that creates a
good image that is smaller. I figured if Photoshop can do it then so can I
but how?

Apr 11 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a

Parrot wrote:
Is there any routine I can call to reduce the size of an image file after
uploading a file from a client. I am looking to reduce file sizes
programmatically using C# in my web page after uploading. I know that
Photoshop can do it but I need to do it dynamically in my web page. I tried
doing it myself with some of the Bitmap thumbnail instructions but the
resulting image is very bad. I need a file reduction routine that creates a
good image that is smaller. I figured if Photoshop can do it then so can I
but how?


This news group covers classic ASP. Your use of C# suggests ASP.NET,
which is a completely different technology. I suspect you can use the
..Net GDI library and/or classes in the System.Drawing namespace to do
what you want, but you will probably get more help over at
microsoft.public.dotnet.framework.aspnet.

--
Mike Brind

Apr 11 '06 #2

P: n/a
Parrot wrote:
Is there any routine I can call to reduce the size of an image file
after uploading a file from a client. I am looking to reduce file
sizes programmatically using C# in my web page after uploading. I
know that Photoshop can do it but I need to do it dynamically in my
web page. I tried doing it myself with some of the Bitmap thumbnail
instructions but the resulting image is very bad. I need a file
reduction routine that creates a good image that is smaller. I
figured if Photoshop can do it then so can I but how?


There was no way for you to know it, but this is a classic asp newsgroup.
ASP.Net is a different technology from classic ASP.
While you may be lucky enough to find a dotnet-savvy person here who can
answer your question, you can eliminate the luck factor by posting your
question to a newsgroup where the dotnet-savvy people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.

HTH,
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Apr 11 '06 #3

P: n/a
Mike;
Thanks for the redirection.
Dave

"Mike Brind" wrote:

Parrot wrote:
Is there any routine I can call to reduce the size of an image file after
uploading a file from a client. I am looking to reduce file sizes
programmatically using C# in my web page after uploading. I know that
Photoshop can do it but I need to do it dynamically in my web page. I tried
doing it myself with some of the Bitmap thumbnail instructions but the
resulting image is very bad. I need a file reduction routine that creates a
good image that is smaller. I figured if Photoshop can do it then so can I
but how?


This news group covers classic ASP. Your use of C# suggests ASP.NET,
which is a completely different technology. I suspect you can use the
..Net GDI library and/or classes in the System.Drawing namespace to do
what you want, but you will probably get more help over at
microsoft.public.dotnet.framework.aspnet.

--
Mike Brind

Apr 11 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.