Stuart McLachlan
stuart at lexacorp.com.pg
Fri Sep 10 23:06:15 CDT 2010
I haven't used that at all, but phpinfo tells me that it is installed on our web servers and I see that WAMP on my development system has php_gd2 ticked on the Extensions list. A quick look at http://www.php.net/manual/en/ref.image.php shows that it doesn't just manipulate existing images, it lets you create images with text, line, arc etc functions so you could use it to create graphs/charts on the fly in your web page from various data sources. Good find! I definitely will have to play with this when I get some spare time. -- Stuart On 10 Sep 2010 at 20:27, Jim Lawrence wrote: > Hi Stuart: > > PS: There is also another editor which can be used online/web based. > Have you ever tried using this one? > > http://php.net/manual/en/book.image.php > > I wonder if there are any similar feature in or planned for ASP.Net? > > 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 > > _______________________________________________ > dba-Tech mailing list > dba-Tech at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-tech > Website: http://www.databaseadvisors.com >