Panics for the CImageDecoder API are not (yet) documented in the SDL. Here is a list of possible codes (displayed with the "ImageConversion" panic name):
0 No Source Bitmap
1 No Destination Bitmap
2 Reset Destination Bitmap
3 Convert Called While Busy
4 Illegal Continue Convert
5 Different Destination Bitmap
6 Different Destination Mask
7 Modified Destination
8 Bitmap Has Zero Dimension
9 No Bitmap Mask
10 Frame Number Out Of Range
11 Undefined Source Type
12 Comments Not Supported
13 Header Processing Not Complete
14 Comment Number Out Of Range
15 Bad Display Mode
16 Unknown Header State
17 Non Null Descriptor Passed
18 Undefined MIME Type
19 Illegal Image SubType
20 Illegal Image Type
21 Illegal Encoder Restart
22 Change Option While Decoding
23 Decoder Not Created
24 Feature Not Yet Implemented
25 Relay SubThread Panic Timed Out
26 Invalid Thread State
27 Invalid Function Leave
28 Invalid State
29 Drive Not Supported
30 Reserved Call