473,587 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HELP! Me please. Pass Array of Byte(Image) to a Web Service

Hi everyone,

Hello my name is Sebastien and I need some help. He have one week
past and I search to do one thing but I can't. If someone help me, I'll
be so happy :). My problem is I want to upload a file(image), convert
this image in an array of byte. Take this array and pass it to a web
service. The web service take this array of byte and resize the image
and return a new array of byte. This new array can be save on the
harddrive. I try to uplaod the image and convert to array of byte but I
can't see how to do this. And pass it to the web service. If someone
can give me the code to do this. You are so good. BIG THANKS.

Spec.:

Web service:
- http://www.ceibathurst.com/utility/r...mage.asmx?WSDL

Method of the web service:

- resizeImage(Byt es[] bImg(Array of byte), int iWidth(new Width),
int iHeight(new Height))
- resizeImageQual ity(Bytes[] bImg(Array of byte), int iWidth(new
Width), int iHeight(new Height),
int iQuality(the Quality of the new
image))

This two methods return the same thing :
Byte[] bNewImg (Array of bytes of the new image)

You can use the interface too give the image :

- Input type file for the image

- Input type text for the width
- Input type text for the heigth
- Input type text for the Quality(optiona l, but if is used the
resizeImageQual ity)

- and a button to execute the resize of the image

I know that web service work fine with asp.net but I want to use it
with ASP/VBScript. The code is non longer but If you can give me this
code quickly, please. Thank you!!!! Sorry with my english if he have
some mistakes because I'm french. lol

Contact me!!!
se************* *@gnb.ca

Nov 22 '05 #1
0 2325

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

Similar topics

4
2207
by: Stanimir Stamenkov | last post by:
I have this kind of construct: http://www.geocities.com/stanio/temp/usemap01.html (an IMG element using MAP described with AREA elements) I'm trying to make it more accessible and currently I'm testing in Lynx. Lynx plays it clever and when I "enter" the map it shows only 3 links no matter there are 5 AREAs (3 point to a same...
1
1545
by: Jim | last post by:
Hey guys I DESPERATLY need some help with this small javascript i have on this website. All that it's supposed to do is change the button image once it's pressed but alas... I copy-pasted the code as it was given to me from Imageready but it won't work. The event that i wanted (and "created" with Imageready) was ondown. The code is this:...
1
2420
by: Hank | last post by:
I am writing a windows service in C#.NET which will manage image capturing devices, when client connects to the service, at some point the service need to expose a device dialog to the client for setting some device specific parameters. According to MSDN docs, classes within the Windows Forms namespace are not supported for use within a...
0
1245
by: PL | last post by:
Since installing Windows 2000 Service Pack 4, I cannot debug ASP.Net projects, starting without debugging works fine. I am the administrator on the machine running IIS and VS.Net Everything was working fine before installing the service pack.
1
1039
by: mark | r | last post by:
anyone know a tutorial or sample code for uploading an image to a web server and optimising it and saving the optimised file to a folder? also can you mix .net and regular asp on the same page? ....oh and while im at it, anyone know a site that tells you how to make querystrings into friendly urls? mark
1
982
by: ubars | last post by:
Hello, I am developing an "image server" that will perform image processing on image files sent from many computers on a local network My concern is send images as quickly as possible and not have the files crashing into each other on the server. I have demonstrated sending images very quickly using the vb.net socket class but I am...
13
2395
by: NickName | last post by:
"For the vision impaired, SVG offers tremendous potential for interactive Internet mapping applications as discussed by Gardner and Bulatov (2001).". Now, here's an SVG file with fair/medium complexity, http://www.carto.net/papers/svg/samples/canvas.svg, even as a sighted person, I find its source code albeit in xml format hard to "absorb"...
2
1696
by: robert.q.johnson | last post by:
Help. I am trying to create a web page in C# to display two rows of data with bar graphs (an image 1px). I get the max value of the row and use the following formula to size the height of the image, but the bar graphs are not sizing correctly. Can anyone provide me with a solution or any ideas. rowValue / maxRowValue * maxBarHeight
2
2341
by: Godai | last post by:
Hi! I have to write a C algorithm to calculate Image Correlation between two complex images. Can you give me some advice to begin? Thanks!!! -- Godai
2
3176
by: moorcroft | last post by:
Hi, I'm pretty new to the NHibernate framework and am trying to use it to query my database. I have a lookup table set up (image.hbm.xml) with the properties set out as follows: <property name="ForeignLink" column="FORNBLG" /> <property name="IncludeInMerge" column="INCLUDE_IN_MERGE" /> <property name="ReferenceNumber"...
0
7920
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8215
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7973
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6626
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5718
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1454
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1189
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.