TagsEditor.ID3V2_PictureFrameFileGet method |
|
Remarks
Creates a graphic file, of a given graphic format, containing the picture stored inside an ID3V2 picture frame (APIC).
For further details about methods related to tags editing refer to the TagsEditor object.
For details about the editing of tags see the How to edit tag info in sound files tutorial.
Syntax
[Visual Basic] control.TagsEditor.ID3V2_PictureFrameFileGet ( nIndex as Integer, strPathname as String, nFormat as enumGraphicFormats, nFormatParameter as Long ) as enumErrorCodes |
[C++] short control.TagsEditor.ID3V2_PictureFrameFileGet ( short nIndex, BSTR strPathname, short nFormat, long nFormatParameter ); |
Parameter |
Description |
|||||||||||||||||||||
|
|
|||||||||||||||||||||
nIndex |
Zero-based index of the picture frame. The total number of picture frames available inside the ID3V2 tag can be obtained through a call to the TagsEditor.ID3V2_FrameCountGet method with the strFrameId parameter set to "APIC". |
|||||||||||||||||||||
strPathname |
String representing the absolute pathname of the output graphic file. |
|||||||||||||||||||||
nFormat |
Graphic format of the output graphic file. Supported values are the following:
|
|||||||||||||||||||||
nFormatParameter |
Eventual parameter required by the chosen graphic format. When the nFormat parameter is set to GRAPHIC_FORMAT_JPEG, this parameter defines the JPEG compression factor whose range can be in the range from 0 (Maximum compression, Lower Quality) to 100 (Minimum compression, Higher Quality). |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful. |