The index of a format in the list, or -1 if the format is not in the list.
Remarks
The formats are called in the order in which they are kept in the list when the format of an image
is detected during loading. Therefore, this method can be used to learn the place of a format in the
detection process.