ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Convert TIOFileType to File Extension and reverse
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Ralf

120 Posts

Posted - Jan 20 2017 :  06:34:27  Show Profile  Reply
Hallo,

i searched the hole source but i didn't found a function for

function IOFileTypeToFileExt(IOFileType:TIOFileType):String;
begin
  case IOFileType of
    ioTiFF : Result:='TIF';
...
function FileExttoIOFileType(FileExt:String):TIOFileType;
begin
  If FileExt='TIF' then Result:=ioTiFF; else
  if FileExt='JPG' then
...


Is there anywhere such a function?
Thanks
Ralf

xequte

38615 Posts

Posted - Jan 20 2017 :  14:32:19  Show Profile  Reply
Hi Ralf


Please see:
http://www.imageen.com/help/IEExtToFileFormat.html
and
http://www.imageen.com/help/IEFileFormatGetInfo.html

sExt := IEFileFormatGetInfo(ioJPEG).SuitableExtension; // returns 'jpeg'

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

Ralf

120 Posts

Posted - Jan 23 2017 :  08:26:57  Show Profile  Reply
Hi Nigel,

great

Thanks
Ralf
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: