It is possible to know if a DCR is a Delphi resource or Camera RAW using FindFileFormat function (defined in imageenio): it reads the file header to know the actual file format. For example for Delphi DCR FindFileFormat returns 0 (ioUnknown), while for Camera RAW it returns 20 (ioRAW).