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
 How to process own format image?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

supersk

105 Posts

Posted - Apr 28 2020 :  19:38:39  Show Profile  Reply
In the help doc, I found this:

IEAddExtIOPlugin
Declaration
function IEAddExtIOPlugin(const FileName : string) : Integer;
Description
Adds support for extra file formats using the ImageEn input/output plug-ins (DLL's) that can be downloaded from the Registered Users download page.
Available plug-ins allow you to load and save JBIG and other formats. All include source code if you need help to you write your own plug-ins.
Result is the FileType for the added formats, e.g. ioOtherDLLPlugIns, ioOtherDLLPlugIns + 1, etc. This can be used by methods such as LoadFromStream.

So, can you share a demo to write own plug-ins?

xequte

39141 Posts

Posted - Apr 29 2020 :  01:44:05  Show Profile  Reply
Hi

Rather than write a DLL, you can just use code to add your own format:

https://www.imageen.com/help/IEFileFormatAdd.html

See the demo at:

\Demos\InputOutput\FileFormatPlugins\FPlug.dpr

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

supersk

105 Posts

Posted - Apr 29 2020 :  02:57:31  Show Profile  Reply
Hi
I write a demo like"\Demos\InputOutput\FileFormatPlugins\FPlug.dpr",but when I browse the images using ImageEnFolderMView, it just display the file icons not thumbs, and it can't be displayed by AttechedImageEnView, what can I do to display the thumbs?
Go to Top of Page

xequte

39141 Posts

Posted - Apr 30 2020 :  22:14:41  Show Profile  Reply
Hi

I cannot reproduce that. Please try this updated demo...

attach/xequte/2020430221436_FileFormatPlugins.zip
96.73 KB

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

supersk

105 Posts

Posted - May 05 2020 :  21:34:08  Show Profile  Reply
Thanks.It works in the OpenImageEnDialog,but can not work in ImageEnFolderMView.How to improve it?
Go to Top of Page

xequte

39141 Posts

Posted - May 07 2020 :  01:52:40  Show Profile  Reply
Did you try the demo? It includes a TImageEnFolderMView showing the custom file format.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

supersk

105 Posts

Posted - May 07 2020 :  04:34:47  Show Profile  Reply
In the demo, it have a TImageEnFolderMView but do not use it. I modified it, then it works. Unfortunately#65292; I convert the demo to C++Builder, it can't work. I'll inspect it later. Thanks.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: