Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / LoadFromURL

LoadFromURL method

Loads an image file from the specified URL in memory. To see a list of supported file formats see the Format enumeration.

Syntax

Boolean LoadFromURL(strURL As String, nPage As Number, bWebFilter As Boolean, bTransparency As Boolean)

Return value

Returns true if the function succeeded.

Parameters

ParameterTypeRequiredDescription
strURLStringYesString containing the URL of the file.
nPageNumberNoSpecifies the page or frame number of the image to extract from an animated or multiple framed image.
bWebFilterBooleanNoOptional parameter which enables or disables the internet filter. If this parameter is true only web formats are accepted (GIF, JPEG, PNG).
bTransparencyBooleanNoOptional parameter which enables or disables forced transparency. With this parameter you can load a format which not supports transparency as a transparent image.

Category

Basic operations

See also

Create | Deserialize | LoadFromBase64 | LoadFromFile | LoadFromSerializedStream | LoadFromStream | Reset | SaveToBase64 | SaveToFile | SaveToHBitmap | SaveToHBitmapPreMultiplied | SaveToStream | Serialize