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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Convert TIOFileType to File Extension and reverse

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Ralf Posted - Jan 20 2017 : 06:34:27
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
2   L A T E S T    R E P L I E S    (Newest First)
Ralf Posted - Jan 23 2017 : 08:26:57
Hi Nigel,

great

Thanks
Ralf
xequte Posted - Jan 20 2017 : 14:32:19
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