Unofficial Content

Here are some frequently asked questions and tips for working with the Image Tools

This is part of  Image Tools project

1. How to use an image from URL

You can use the Httpclient data type to download the image, and then use the image Path in the Image Tools functions

&httpclient.host = 'www.montevideo.com.uy'
&httpclient.Port = 80
&URL = "plantillas/imgindex/cab/logomvd.gif"
&httpclient.Execute("GET",&URL)
&httpclient.ToFile(&NewPath)
ImageTools. XXXX ( &NewPath, &GeneratePath, ... )

2. How to use an image from Blob Data Type

The Blob data type return a string with the path, e.g.

Path = BlobAttribute

3. How to catch an error

You can use the ErrCode and ErrDescription attributes of ImageTools, e.g.:

ImageTools.ErrDescription return the description error

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant