ASPJpeg

i'm trying to draw on a picture using ASPJpeg.

But he give me that Error:

Object doesn't support this property or method: 'Jpeg.Canvas.DrawBar'

Here is the code:
<%
Set Jpeg = Server.CreateObject("Persits.Jpeg")
Jpeg.Open Server.MapPath("1.jpg")
Jpeg.Width = Jpeg.OriginalWidth / 2
Jpeg.Height = Jpeg.OriginalHeight / 2
Jpeg.Canvas.Pen.Color = &H000000
Jpeg.Canvas.Pen.Width = 2
Jpeg.Canvas.Brush.Solid = False
Jpeg.Canvas.DrawBar 1, 1, Jpeg.Width, Jpeg.Height
Jpeg.Save Server.MapPath("2.jpg")
%>

Also if anyone got some links on info of how to use ASPJpeg in ASP JavaScript and not in VB or C# then i would really thank him.

View Replies


ADVERTISEMENT

How To Substitute Aspjpeg And Aspupload ?

Because I need a good hosting, and most of the dedicated one's i found don't have these components installed on the server. and I don't want to pay 300 bucks for each on to be installed on the server.

found this http://www.planet-source-code.com/vb...txtCodeId=6569

but what about the aspjpeg substitute ?

Also I'm not a coder so I am trying to tell my coder what to do, theer seems to be alot of mis information as she is from india.

Your help is appreciated.

Do you think I should just hire someone to covert it to php for hosting costs ?

Also another question, if I converted it to .net ( I heard someone that you don't need the asp components for the .net as coding substitute it) is this true ?

View Replies View Related

AspJpeg Image Cache

When I upload an image with same filename as image already up there it shows me the old image not the new. Refresh button in IE give me correct image but that is not good enougth.

I also no you can in IIS add header to expire the images immediately but I do not wish to this all the time. I wish to be able to put in the ASP page to always reload the image. Any clues. Response.Expires = 0 does not work as only the page not the image!"·"%!!·!

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved