473,320 Members | 1,872 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,320 software developers and data experts.

ASP changes Big JPG -> Small JPG

Hey everybody,

Do you know if ASP can change a JPG file in a smaller defined size JPG.
Do you have an exemple of it.
Imagine the JPG is on the C: drive of my server and called PIC.JPG.

Thanks in advance.

Yannick
Jul 19 '05 #1
6 1402
You can just set the width and height values of your img tag to what you
want the size to be, as one option. If you want to physically manipulate
the file on the server, you'll need to use a third party component or do
this using asp.net. I believe that asp.net has some image manipulation
built into it.

Ray at work

"Yannick" <ny**@xs4all.nl> wrote in message
news:40*********************@news.xs4all.nl...
Hey everybody,

Do you know if ASP can change a JPG file in a smaller defined size JPG.
Do you have an exemple of it.
Imagine the JPG is on the C: drive of my server and called PIC.JPG.

Thanks in advance.

Yannick

Jul 19 '05 #2
Thanks Ray for the info, but I need to manipulate the photo. Resizing can
look good but the time to download the page will be the same.

Any other idea to resize the JPG from ASP ?

Thanks

Yannick

"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:u$**************@TK2MSFTNGP10.phx.gbl...
You can just set the width and height values of your img tag to what you
want the size to be, as one option. If you want to physically manipulate
the file on the server, you'll need to use a third party component or do
this using asp.net. I believe that asp.net has some image manipulation
built into it.

Ray at work

"Yannick" <ny**@xs4all.nl> wrote in message
news:40*********************@news.xs4all.nl...
Hey everybody,

Do you know if ASP can change a JPG file in a smaller defined size JPG.
Do you have an exemple of it.
Imagine the JPG is on the C: drive of my server and called PIC.JPG.

Thanks in advance.

Yannick


Jul 19 '05 #3
>> If you want to physically manipulate
the file on the server, you'll need to use a third party component or do
this using asp.net.
Search aspfaq.com for image component solutions, i.e.
http://www.aspfaq.com/search.asp?q=H...mages+from+ASP

Ray at work

"Yannick" <ny**@xs4all.nl> wrote in message
news:40*********************@news.xs4all.nl...
Thanks Ray for the info, but I need to manipulate the photo. Resizing can
look good but the time to download the page will be the same.

Any other idea to resize the JPG from ASP ?

Thanks

Yannick

"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:u$**************@TK2MSFTNGP10.phx.gbl...
You can just set the width and height values of your img tag to what you
want the size to be, as one option. If you want to physically

manipulate the file on the server, you'll need to use a third party component or do
this using asp.net. I believe that asp.net has some image manipulation
built into it.

Ray at work

"Yannick" <ny**@xs4all.nl> wrote in message
news:40*********************@news.xs4all.nl...
Hey everybody,

Do you know if ASP can change a JPG file in a smaller defined size JPG. Do you have an exemple of it.
Imagine the JPG is on the C: drive of my server and called PIC.JPG.

Thanks in advance.

Yannick



Jul 19 '05 #4
We use a component from LeadTools for image manipulation. It's probably
got more features than you need, with a corresponding cost, but it works
well for us.

Kris

"Yannick" <ny**@xs4all.nl> wrote in message
news:40*********************@news.xs4all.nl...
Thanks Ray for the info, but I need to manipulate the photo. Resizing can look good but the time to download the page will be the same.
Any other idea to resize the JPG from ASP ?
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:u$**************@TK2MSFTNGP10.phx.gbl...
You can just set the width and height values of your img tag to what you want the size to be, as one option. If you want to physically manipulate the file on the server, you'll need to use a third party component or do this using asp.net. I believe that asp.net has some image manipulation built into it.

Ray at work

"Yannick" <ny**@xs4all.nl> wrote in message
news:40*********************@news.xs4all.nl...
Hey everybody,

Do you know if ASP can change a JPG file in a smaller defined size JPG. Do you have an exemple of it.
Imagine the JPG is on the C: drive of my server and called PIC.JPG. Thanks in advance.
Yannick

Jul 19 '05 #5
"Yannick" <ny**@xs4all.nl> wrote in message
news:40*********************@news.xs4all.nl...
Thanks Ray for the info, but I need to manipulate the photo. Resizing can
look good but the time to download the page will be the same.

Any other idea to resize the JPG from ASP ?


There's no other idea - if you want to do it in ASP you need a third-party
component.

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #6
If on XP:

http://msdn.microsoft.com/library/de...us/wiaaut/wia/
wiax/overviews/startpagewiaaut.asp

Tim
"Yannick" <ny**@xs4all.nl> wrote in message
news:40*********************@news.xs4all.nl...
Thanks Ray for the info, but I need to manipulate the photo. Resizing can
look good but the time to download the page will be the same.

Any other idea to resize the JPG from ASP ?

Thanks

Yannick

"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:u$**************@TK2MSFTNGP10.phx.gbl...
You can just set the width and height values of your img tag to what you
want the size to be, as one option. If you want to physically manipulate the file on the server, you'll need to use a third party component or do
this using asp.net. I believe that asp.net has some image manipulation
built into it.

Ray at work

"Yannick" <ny**@xs4all.nl> wrote in message
news:40*********************@news.xs4all.nl...
Hey everybody,

Do you know if ASP can change a JPG file in a smaller defined size JPG. Do you have an exemple of it.
Imagine the JPG is on the C: drive of my server and called PIC.JPG.

Thanks in advance.

Yannick



Jul 19 '05 #7

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

Similar topics

0
by: robmcdan | last post by:
Hi, I'm using RegNotifyChangeKeyValue() (via DllImport) to detect changes to registry keys and subkeys. However, in addition to catching changes, I would like to know what the changes were. ...
4
by: Glenn Owens | last post by:
I have a DataGrid web control which I've dynamically populated with template columns to be used for bulk-editting. Generally, all of the columns are textbox and/or dropdownlist child controls. ...
0
by: Jeff Reed | last post by:
I am experiencing the the problem outlined the below. Unfortunately, I am using WinXP and I not sure if I can apply the solution due to lack of security control Any feed back would be apreciated ...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
6
by: lanem | last post by:
I have a page that shows some data in a datagrid. All rows are updateable and then the changes are saved by hitting the "Save Changes" button. It is not a row by row save. All edits are made and...
16
by: Richard | last post by:
Hi, I am passing a structure to a subroutine where the passed parameter has been declared as ByVal. However, changes made to the passed variable inside the subroutine flow through to the...
30
by: Charles Law | last post by:
Here's one that should probably have the sub-heading "I'm sure I asked this once before, but ...". Two users are both looking at the same data, from a database. One user changes the data and...
3
by: meeraguna | last post by:
We have 20 -30 normalized tables in our dartabase . Also we have 4 tables where we store the calculated data fron those normalised tables. The Reason we have these 4 denormalised tables is when we...
5
by: vovan | last post by:
I have set of controls (Textboxes, checkboxes etc) along with the Grid on Windows Form. I use BindingSource to populate both Grid and the set of Controls. User selects the record in the grid and...
11
by: gyap88 | last post by:
Hello i m using vb 2005 express to do my project. I m suppose to create a datagrid to allow user to make changes to the database. The program display the database in a datagrid where users can juz...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.