mergMPItemArtwork

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mergMPItemArtwork(<pQueryPointer>, <pCollectionNumber>, <pItemNumber>, <pSize>)
Associationsmergmp
Summary

Get an image representing a media item

Introduced8.0
OSios
Platformsmobile
Parameters
NameTypeDescription
pQueryPointer

a pointer to the query in memory.

pCollectionNumber

a number between 1 and the result of mergMPQueryCollectionCount.

pItemNumber

a number between 1 and the result of mergMPQueryCollectionItemCount.

pSize

the size of the image to return as width,height. Note that apple seems to think when you ask for one image size it should give you something else so don't rely on the size or even aspect ratio of your returned image.

Values
NameTypeDescription
return

the artwork as PNG data.

Description

For example the album cover artwork.

Tagsexternals