[dba-Tech] So how do you automate imaging?

Jim Lawrence accessd at shaw.ca
Fri Sep 10 22:18:04 CDT 2010


Hi Stuart:

That's site looks excellent. 

I thought I had really discovered something when I ran across this little
app. Thanks for the heads up Stuart and I think this will be useful for
creating and automating images both in and out of web sites.  

Jim



-----Original Message-----
From: dba-tech-bounces at databaseadvisors.com
[mailto:dba-tech-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan
Sent: Friday, September 10, 2010 7:01 PM
To: Discussion of Hardware and Software issues
Subject: Re: [dba-Tech] So how do you automate imaging?

I've been using it for the last  couple of years inside Access to create
correctly sized images 
for websites. 

Pages such as http://www.sre.com.pg/sre_aptmt_sales.html  are automatically
updated in an 
Access Real Estate application.  A single button click  creates and uploads
any new PDF 
brochures and image files and then builds and uploads the html page.

Here's a typical Access function to create the thumbnail and zoom image for
each property 
from the original photo. 

Function CreateWebPic(Image As String) As Boolean
Dim strConvert As String
Dim strShell As String
Dim strWebPic As String
Dim stroriginal As String
Dim strEffect As String
Dim strThumbEffect As String
Dim strThumbPic As String
strConvert = """c:\program files\imagemagick-6.5.3-q16\Convert"" "
strEffect = "  -thumbnail 600x600 "
strThumbEffect = "  -thumbnail 200x200 "
stroriginal = """" & BEDir() & "photos\" & Image & """"
strWebPic = """" & BEDir & "webphotos\" & Image & """"
strThumbPic = """" & BEDir & "webphotos\tn_" & Image & """"
strShell = strConvert & stroriginal & strThumbEffect & strThumbPic
ShellWait strShell, vbHide
strShell = strConvert & stroriginal & strEffect & strWebPic
ShellWait strShell, vbHide
End Function




On 10 Sep 2010 at 18:09, Jim Lawrence wrote:

> So how do you automate imaging within you applications without manual
> intervention using external products like Adobe Photoshop, Photo
> Editor or GIMP etc.?
> 
> Well, here is a product which can be used to edit images via program
> control within your PHP, ASP.Net, .Net, Perl and Java applications:
> 
> http://www.imagemagick.org/
> 
> Jim 
> 
> _______________________________________________
> dba-Tech mailing list
> dba-Tech at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-tech
> Website: http://www.databaseadvisors.com
> 


_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com




More information about the dba-Tech mailing list