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
 External third party effect filters?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

984 Posts

Posted - Jan 14 2014 :  17:54:14  Show Profile  Reply
Hi! Is it possible to use external third party effect filters like those from TopazLabs with ImageEn?

spetric

Croatia
308 Posts

Posted - Jan 15 2014 :  14:56:58  Show Profile  Reply
As I can see from TopazLabs site it's a collection of 8bf plugin
filters. I don't know if newer versions of ImageEn support 8bf filters, but my version does not support.

To use 8bf filters with (for instance) ImageEnView, some coding must be done (plugins host) and not all 8bf filters will work correctly. Photoshop SDK for 8bf filters is quite obscure and, as I know, newest SDK versions are no more public available. There is however some VCL component that accepts 8bf filters and applies them on TBitmap, but I forgot the name

Anyway, I've made a little program that can execute 8bf filters on images loaded into ImageEnView/ImageEnVect. You can try if it works with TopazLabs filters.

http://www.sigmapi-design.com/cms/index.php?page=nigulp

Also, I will soon rewrite code for plugin host (C++ Builder) and if you want to make a Delphi version I'll send you a code. Current code version is not so "readable".
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Jan 15 2014 :  15:09:36  Show Profile  Reply
I have downloaded trial version of TopazLabs Adjust 5, installed it and loaded
tladjust5ps.8bf in NiGulp...it works. But, I'm not sure for other filters.
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Jan 16 2014 :  01:35:04  Show Profile  Reply
I've forgotten, there is a dll I've made long time ago, that works with TBitmap and 8bf filters. It will work with ImageEnView if LegacyBitmap is true.
http://www.sigmapi-design.com/archive/SigmaPiHost.zip

Also, someone made 8bf interface based on this dll (with source code):
http://priede.bf.lu.lv/ftp/pub/Grafika/apstraade/ImageAnalyzer/plugins.htm#Interface8bf

I have a newer version of plugin host, that works with TIEBitmap, but I need to rewrite it, comment the code and I'll post the source code on this forum.



Go to Top of Page

PeterPanino

984 Posts

Posted - Jan 16 2014 :  03:54:12  Show Profile  Reply
Thanks spetric, this is wonderful! I am looking forward to your plugin host.
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Feb 05 2014 :  15:07:55  Show Profile  Reply
I've made a small static library for applying 8bf filters on TIEBitmap image.
Here is the download link:

www.sigmapi-design.com/archive/sphost_imageen.zip

File contains library, header, read-me and one cpp unit (example).
Nothing fancy, but it works...on most filters I've tried.

UPDATE: I have uploaded a new version (2.2) and now it works quite solid.
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Mar 04 2015 :  14:50:14  Show Profile  Reply
It seems I've upload it again. Link is alive.

@Yogi Yang: I have uploaded (temporary) Delphi version (rather old) of Photoshop host component (freeware). It came with GR32 library. I found it somewhere between components on my disk.

Here is the link:
www.sigmapi-design.com/archive/photoshop_delphi.zip

Note: I will keep this file for a few days and then I'm gonna remove it.
It's legal and it's freeware, but I don't want to use my site as other people's component archive.




Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Jan 04 2016 :  08:16:43  Show Profile  Reply
hello spetric
Would you have any examples in Delphi to share that work with TIEBitmap.

Some or How to Start Development Documentation for Delphi.
Some Plugins tested with Your Software Pixopedia but unfortunately not Run.

Thank's for your attention.
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Jan 04 2016 :  13:46:15  Show Profile  Reply
Hi Wesley,

Unfortunately, I don't have any Delphi examples, as plug-in host is written in C++, but you can try here: http://priede.bf.lu.lv/ftp/pub/Grafika/apstraade/ImageAnalyzer/plugins.htm#Interface8bf.

Also, inside http://www.sigmapi-design.com/archive/sphost_imageen.zip there is an example in C++, but you can easily translate it to Delphi.

Note: Not all 8bf filters will work (especially those that requires alpha-channel).

HTH,
Siniša


Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Jan 04 2016 :  14:07:23  Show Profile  Reply
Hello Siniša.

Thank you for your answer.

Sorry to bother you, you could share a complete example with C ++ Builder, which compiles Something For Nothing not understand C ++.

Only a Form with a button to load an image and another button to load the filter?

Thank you again.
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Jan 04 2016 :  15:40:13  Show Profile  Reply
Hi Wesley,

No problem. I'll create a small working demo with few filters that work and put the source code together with plug-in host source code (which is quite a mess).

Give me a few days, cause I'm currently on vacations :).
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Jan 04 2016 :  17:58:20  Show Profile  Reply
hello Siniša

Thank you for your attention.

A Great Vacation.
Go to Top of Page

xequte

39053 Posts

Posted - Jan 17 2016 :  21:50:51  Show Profile  Reply
Sinisa has uploaded his demo to:

http://www.imageen.com/ieforum/topic.asp?TOPIC_ID=1446&whichpage=4

Nice one, Sinisa

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

wesleybobato

Brazil
367 Posts

Posted - Jan 18 2016 :  08:06:36  Show Profile  Reply
Hello Nigel

Thank you very much for answering.

I'm adding support, with Tranquility.
A lot of code to translate to Object Pascal (Delphi).
I translated 4 Unit Only so far.
I have a little trouble with C++, Because I started to study 1 Year.

Best regards.
Go to Top of Page

wesleybobato

Brazil
367 Posts

Posted - Jan 20 2016 :  15:07:34  Show Profile  Reply
Hi Nigel.

Now that Siniša, posted an Example of Using Photoshop Filters (Plugins)


Thank you so much.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: