Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "Web hosting COM objects"
Collapse
Guest replied
Re: Cheap as chips hosting - .NET and custom com
WOW
And it's got ASPJpeg which is the component I need!
For bugger all money and I've heard nothing but good reviews...Also includes large(ish) SQL Server 2000 database.
Amazing package for tight fisted M$ developers...
Leave a comment:
Guest replied
Re: it's simple
Cheers for that. I'll take a look at the website.
The ideal solution would still be a vbscript that can shrink jpeg images and filesize, but I suppose it would be too slow if there was such a thing.
Leave a comment:
Guest replied
Re: it's simple
If you really need to use COM based components then theres certainly a few I know in the US which will do such things (probably the same in the UK, but the US is generally cheaper), but definately theres a premium for such services.
Alternatively if you're thinking of doing such things in future then you might want to consider using .NET as there seems to be more sites willing to host such components given that its a more managed/secure runtime environment.
Leave a comment:
Guest replied
Re: it's simple
The only problem is, if I'm using shared hosting, the host probably won't allow COM objects
Leave a comment:
Guest replied
Re: it's simple
If you already have the images then as ScotsPine says running a batch conversion through something like Photoshop or PaintShop Pro is probably the easiest option.
If it's the case that you're dealing with images that the user is uploading, which you want to resize, then you're definately going to need a COM component of some sort, in which case searching on Google or checking out some of the developer sites is your best bet.
I had to do something similar on a site some time ago and decided to write my own component (unfortunately don't have the code anymore), but it's not something I would recommend for the faint-hearted as you're gonna be dealing with API/GDI calls by the dozen.
Leave a comment:
Guest replied
Re: it's simple
I may have to use a batch job as a last resort.
Mind you, being out of work, I've got all the time in the world to write my own
Leave a comment:
Guest replied
Re: it's simple
right - i didn't realise you meant to reduce the file size. don't know. why not reduce them before they reach the server? simple to do using a batch job with a graphics prog. that'll reduce colour depth and bring resolution to 72dpi. if you insist on doing it yourself, (certified madness ) have a look at
I know you can just change the size of an image by changing the width and height, but I actually want to shrink the image so it takes less disk space and time to load.
Not sure on the algorithm for doing this. I do remember reading that you can get a very blurry image if you just sample every n'th pixel.
Leave a comment:
Guest replied
it's simple
with vb/vbscript. no need for a com object at all. just do your calculations for resizing and then response.write out all your html, embedding the variables you use for height & width in the html.
Leave a comment: