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
 Questions before purchasing
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Baudewyns

Belgium
3 Posts

Posted - Jun 17 2015 :  08:00:31  Show Profile  Reply
Hi there,

I do have some questions for you before considering purchase of an official ImageEn licence
I hope I will be clear enough describing my requirements

1. Chromakey background removal
Is it possible to programmatically generate a new picture from:
- A background layer in PNG format
- A JPEG photo layer with automatic Chromakey background removal
- One or more foreground layers in PNG format with transparent background
- Save the resulting combined picture in different formats

Is it possible to manually adjust size and position of the Chromakey foreground subject like in your demo and save such settings to be programmatically applied to all photos

Is it possible to programmatically adjust size and position of the Chromakey foreground subject to fit a predefined region on the target picture?

Same as previous bullet point but fully automatically

2. Automatic Zoom and Crop

Is it possible to programmatically zoom and crop (auto-cropping) on a group of peoples (Get Peoples demo) but keeping the same image ratio?
=>
Is it possible to programmatically zoom and crop the larger possible image using a different target image ratio?
4/3 => 16/9

3. Printing Capabilities
Is it possible to design and save custom printing layouts (templates) containing the same or different photos with various sizes on the same page?


Thank you in advance for your support

Best Regards
Bob

xequte

39067 Posts

Posted - Jun 17 2015 :  16:11:16  Show Profile  Reply
Hi Bob

1. All of those requirements can be programmatically achieved, because the features you see in the demos make calls to underlying ImageEn functions.

Of course, ChromaKey removal works best when the parameters are tweaked to match a particular image.

You can adjust the size and position of a layer as required.


2. This is two different methods. Autocropping is available to remove background of a similar color from the edges of images. You can then resample an image to make it a particular size (using the relevant parameter to maintain the aspect ratio).


3. This is not a feature that is built into ImageEn, but you could certainly create a form that allows layouts to be positioned and saved. When you want to print you would simply iterate through the images in your layout and use ImageEn's printing function to output to the printer canvas at a specific position and size.

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

Baudewyns

Belgium
3 Posts

Posted - Oct 12 2015 :  09:51:49  Show Profile  Reply
Hi Nigel,

Thank you for your reply.
I took a long time exploring relevant demo applications to understand how rich your solution is.
However, it is quite complicate to apprehend the full extend as I’m unable to compile modifications

At this point, it is still unclear:

1. Image Acquisition
• I guess it is possible to automatically load existing pictures into an ImageEnMView from a connected camera through WIA and dynamically display newly/subsequent created photos.
But what would be the Delphi code for doing that?

• Is it possible to dynamically load pictures into an ImageEnMView from multiple sources at the same time? (Multiples WIA connected cameras, DCIM USB stick, monitoring a folder…) and get notified by an event to identify the source and process each of them accordingly.
The ImageEnMView would represent the central incoming flow from several devices simultaneously.
What would be the Delphi code for doing that?
Do you foresee any performance issue?

2. Working with layers
I understood it is possible to manually adjust size and position of any layer.
But what would be the Delphi code for detecting manual changes done to layers using the DrawBox (resize, move…) and save them to be re-applied in the same way to other photos?

3. Changing scrollbars look
I intend to use a solution to skin my application (BusinessSkinForm, DevExpress Skins Library). Is it possible to get a handle to scrollbars for ImageEnView and ImageEnMView to adopt skinned scrollbars?

Thank you in advance for you support

Regards
Bob
Go to Top of Page

w2m

USA
1990 Posts

Posted - Oct 12 2015 :  10:11:20  Show Profile  Reply
I probably should not comment about this post because only the vendor can provide the correct answers, but I also use the DevExpress Vcl Controls. ImageEn controls supports VCL themes very well; however, DevExpress skinning can not be applied to ImageEn controls. Vcl themes and DevExpress skinning are not compatible and operate differently. Many third party skinning tools do not work well with DevExpress controls. Using both DevExpress Skinning and Vcl Themes is quite difficult and usually does not work well. I have also found that DevExpress Skinning does not apply themes to other Delphi forms and dialogs, so you wind up with a app that is only partially skinned or you have to build all dialogs with DevExpress components and not use common dialogs or use both Vcl theming and DevExpress Skinning to fully theme all controls forms and dialogs. You also have to use Vcl.Styles.Utils to completely and correctly theme menus, dialogs, and some controls with Vcl Themes. DevExpress will not handle vcl dialogs or controls. This adds a great deal of complexity to a project. I consider both Vcl Themes and DevExpress Skinning an incomplete solution by themselves.

I am not sure how difficult it would be to add DevExpress skinning to ImageEn. I have no idea if this is something the ImageEn folks want to add, but I am sure Nigel will provide you more indormation.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

xequte

39067 Posts

Posted - Oct 12 2015 :  17:55:31  Show Profile  Reply
Hi Bob

1. Automatic Image Acquisition

There is no event that makes it possible to automatically detect a new image on a WIA device, so you would need to periodically check.


2. Recreating layer movement

There is not specific code to record and recreate such changes, so you would need to code that yourself.

It should be possible by storing a list of changes that occur in the MoveResize event

http://www.imageen.com/help/TIEVObjectMoveResizeEvent.html


3. Changing scrollbar look

As Bill advised, we used standard VCL theming, so if you have enabled ImageEn theming then you can use/create a VCL theme with your desired style.



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

Baudewyns

Belgium
3 Posts

Posted - Oct 13 2015 :  07:54:38  Show Profile  Reply
Thank you Nigel,

1. Automatic Image Acquisition
Unfortunately, you are not answering the most important question about connecting simultaneously multiples sources like cameras through the same TImageEnMIO or should I create several TImageEnMIO inside separate threads and supply a central ImageEnMView
What about performance issue? Any recommendation?

2. Recreating layer movement
I have found what I need with the OnLayerNotify event from the Layers demo.

3. Changing scrollbar look
AlphaSkins is claiming to support skinning of ImageEn library.
http://www.alphaskins.com/showdoc.php?l=en&n=5
Any feedback or experience from that?
I'm looking for a skinning solution which also provide advanced RibbonBar

Kind Regards
Bob
Go to Top of Page

xequte

39067 Posts

Posted - Oct 13 2015 :  19:31:34  Show Profile  Reply
Hi Bob

1. Automatic Image Acquisition

ImageEn does not remain "connected" to any Twain device. When you acquire it connects, acquires and then disconnects. Because dynamic acquisition (i.e. pushed from the device) is not possible, there is no advantage in remaining "connected" to a device.

You could have multiple TImageEnMIOs "connected" to different devices each feeding one attached TImageEnMView. That should work, though it is not a configuration that is well tested.

Or you could just have one TImageEnMIO (i.e. TImageEnMView.MIO) and acquire from each "connected" device in turn.

In terms of recommendations, I prefer the second because it is cleaner and should be more robust. But I have little experience in trying to eke out the maximum performance when acquiring from multiple devices, so you should test both configurations.

3. Changing scrollbar look

I don't have any experience with that, but I have emailed the developer for more information.

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

xequte

39067 Posts

Posted - Oct 16 2015 :  16:16:49  Show Profile  Reply
FYI, Alpha Skins have sent me a demo:

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


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: