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
 User Demos and Apps
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 7

xequte

4143 Posts

Posted - Feb 02 2014 :  22:03:18  Show Profile  Reply
200 demo projects are included with ImageEn, and can also be accessed at:

http://www.imageen.com/demos/



But we also welcome users to submit other demos that might be useful, and also link to their own applications that have been created with ImageEn.

Please upload your demo by posting a reply and clicking "attach a photo or zip" (full source demos only, with an EXE). When linking to a demo or application please advise whether it is full source, free or $$$. If possible, also include a screenshot.


Many more demos are available with Adirondack's ImageEn E-book:

http://www.imageen.com/ebook/

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com

xequte

4143 Posts

Posted - Feb 02 2014 :  22:06:47  Show Profile  Reply
AirPhoto SE
by The Unkelbach Valley Software Works
Full Source and Installer Exe



AirPhotoSE is a simple program for the rectification of perspective distortion in aerial photographs. It requires an image and a map along with a set of matching points (control points) for each. A single non-aerial image may also be used and corrected arbitrarily to create a new image of the same size.

Download: www.ImageEn.com/files/Other/AirSE.zip


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

xequte

4143 Posts

Posted - Feb 02 2014 :  22:08:23  Show Profile  Reply
Select Similar Colors Demo
by William Miller/Adirondack
Full Source and Demo EXE



Shows how to select all colors within a range and cast them to a new color.

Download: www.ImageEn.com/files/Other/SelectSimilarPaletteColors.zip



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

w2m

USA
1957 Posts

Posted - Feb 03 2014 :  09:27:07  Show Profile  Reply
Make Selection Transparent Demo
by William Miller/Adirondack
Full Source and Demo EXE
Compiled with DelphiXE4, but is expected to compile with Delphi 2010 or higher.
Price: $9.95



The "Select Similar Colors Demo" and this enhanced version that makes complex selections transparent required significant development time so a donation of $9.95 is required.

This demo shows how to create transparent backgrounds with complex images with many similar background colors. This particular image has 127 background colors of "off-white" out of a palette of 255 colors to render as transparent. The demo selects palette colors in an image by calculating the minimum and maximum RGB values of the selected colors and selects the corresponding pixels in the image. It renders the transparency by calling SetSelectedAreaAlpha(0).

This is the saved transparent image from the demo saved as a png image.

Rendering a complex background has been one of the most difficult problems to overcome with ImageEn because CastAlpha and SelectColors have been problematic and often a time consuming process for the user when trying to set the correct tolerance value to select the proper pixels. Even though this sample image and many others I have tested has a large number of similar background colors, the math used in this demo produces the correct result and excellent looking transparent images very quickly. Another advantage with is this is if you happened to select a palette color what you do not want to render transparent, you quickly see the results visually so you just select the reset button and reselect the colors. If you do not select all the background colors the first try, all you have to do is to continue to select additional colors.

Unfortunately there is no simple code to make transparent backgrounds with complex images that have many shades of "off-white" in the background that will work for all images... it just is not possible.

Order:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Z7NKWMS7XW8PW


William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development
Go to Top of Page

w2m

USA
1957 Posts

Posted - Feb 03 2014 :  12:02:59  Show Profile  Reply
Android Like Touch Enabled Image Viewer Demo
by William Miller/Adirondack
Full Source and Demo EXE
Compiled with DelphiXE4, but is expected to compile with Delphi 2010 or higher.
Lines of Code: 1,215.
Price: $9.95



This demo shows how to implement horizontal touch panning and viewing of images which are loaded in a separate thread. Fifty 18 GB image files load in a few seconds. Images may be panned left and right with touch swipes or by moveng the mouse over the pictures. Selected imaged may be auto enhanced and saved to disk.

Order:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PYBE8VRFR93AU

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development
Go to Top of Page

w2m

USA
1957 Posts

Posted - Feb 04 2014 :  19:08:01  Show Profile  Reply
GIF Maker Demo
by William Miller/Adirondack
Full Source and Demo EXE
Compiled with DelphiXE4, but is expected to compile with Delphi 2010 or higher.
Updated: 04/01/2014
Update includes using a stringlist for a most recent files list in place of a third-party component. Added Insert image frame. Added drag and drop images to reorder the image frames. Added frame move up. Added frame move down. Added resampling all frames to the same dimensions.

Lines of code: 1,548
Price: $9.95



This demo supports open, save and play multi-frame GIF images in TImageEnMView and TImageEnView. Set the Gif delay for selected frames. Delay is not set until the image is saved. Append image frame. Insert image frame. Drag and drop images to reorder the list. Remove selected image frame. Play Gif in TImageEnMview and in TImageEnView. Extract a selected frame and save to disk. Display selected frame with ImageEnView. ImageEnView supports touch zoom and pan gestures and mouse zooming and scroll.

Order:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=G9M9LFYE8KX82

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development
Go to Top of Page

w2m

USA
1957 Posts

Posted - Feb 05 2014 :  12:42:48  Show Profile  Reply
Glyph Maker Demo
Full Source and Demo EXE
Compiled with DelphiXE4, but is expected to compile with Delphi 2010 or higher.
Lines of code: 2,936
Price: $9.95



This demo was written to allow me to create (32x32) glyphs for toolbars. The demo creates glyphs by loading a base glyph (32x32) then
the user drags and drops smaller (16x16) glyphs into a layer. The glyph layer is then positioned with touch gestures or by mouse drag
and merged into the background bitmap. By starting with a base bitmap and then by adding additional glyphs to the base bitmap, the user
can quickly change the glyph to represent a special function. Base bitmaps may also be dragged and dropped to ImageEnView from a built
in windows file explorer. The demo may be enhanced by adding additional imagelists for 8x8, or 12x12 images so that 16x16 size glyphs
may be created. Of course additonal code to fill the imagelists will have to be added along with code to fill the TListView with the correct
icons. The demo supports transparent base bitmaps and the 650 glyph objects that are included supplied support transparancy as well.
When finished, the new glyph is saved to disk with a new filename. Some of the glyphs in the demo were created with the demo.

The demo features New, Open, Most Recent Files (using a stringList), Load and Save Settings to an ini file, Save, SaveAs, Save Layers, Open
layers, Save Layers, Delete all layers, Merge layers, Merge selected layer, Selections, Flip, Bit-depth conversion, Touch gestures,
Bring a layer to the front, Send a layer to the back, delete selected layer, add shadows, remove shadows, drag & drop bitmaps
into a auto-created layer from a TListview, Load supplied bitmap objects with drag and drop, zooming with the mouse or gestures or
via trackbar and auto-fit, Painting pixel color or alpha, and pick a pixel color. The demo also loads the glyph objects from a thread
when the app starts so that application start up is as fast as possible.

The demo has 2,889 lines of liberally commented code and includes about 600 glyph objects. Only standard vcl components and ImageEn
components were used to develop this demo.

Order:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5ZHTZGZYWFPUY

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development
Go to Top of Page

w2m

USA
1957 Posts

Posted - Feb 06 2014 :  21:51:44  Show Profile  Reply
Threshold Demo
Full Source
Compiled with DelphiXE4, but is expected to compile with Delphi 2010 or higher.
Lines of Code: 650



Shows how to use the Threshold procedure.

Download:
www.ImageEn.com/files/Other/W2M_Threshold_Demo.zip

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development
Go to Top of Page

w2m

USA
1957 Posts

Posted - Feb 09 2014 :  09:30:59  Show Profile  Reply
Make New Bitmap Transparent Demo
Full Source
Compiled with DelphiXE4, but is expected to compile with Delphi 2010 or higher. Requires ImageEn version 5 or higher to compile without changes.
Lines of Code: 205



This demo shows three ways to make a new bitmap transparent.
Method 1 ImageEnView1.Proc.SetTransparentColors
Method 2 ImageEnView1.IEBitmap.AlphaChannel.Fill(0)
Method 3 ImageEnView1.IEBitmap.IEInitialize
IEInitialize requres ImageEn version 5 or higher that has iexhelperfunctions.pas. To compile this demo with ImageEn version less than 5 then remove iexhelperfunctions from uses and remove IEInitialize1Click.

Download: www.ImageEn.com/files/Other/w2m_newtransparentiebitmap.zip

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development
Go to Top of Page

w2m

USA
1957 Posts

Posted - Mar 09 2014 :  07:25:48  Show Profile  Reply
RGB Color Channels
by William Miller Adirondack Software
Full Source
Compiled with Delphi XE4 but is expected to compile with Delphi 2010 or higher
Lines of Code: 498



This demo shows how to separate the RGB color channels of an image, change the brightness of a selected color channel, then combine the color channels into a RGB Composite image.

Acknowledgement: Sinisa Petric for some ideas discussed in the forum.

Download: www.ImageEn.com/files/Other/w2m_rgbchannels.zip

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development
Go to Top of Page

spetric

Croatia
221 Posts

Posted - Mar 14 2014 :  04:57:09  Show Profile  Reply
Here is a source code for binding Lua with ImageEn. Demo exe included.
More details in readme.txt

Screen:




Code and demo: www.ImageEn.com/files/Other/spectric_lua_demo.zip

There are few scripts in scripts directory. Open script in notepad,
past and copy content into memo field and press execute.

Edit: you can modify code inside memo field (set various params etc...) and press execute to see your changes.
Go to Top of Page

w2m

USA
1957 Posts

Posted - Mar 27 2014 :  13:58:27  Show Profile  Reply
TImageEnList
by William Miller/Adirondack
Full Source
Compiled with DelphiXE4, but is expected to compile with Delphi 2010 or higher.
Lines of Code: 2,602

This demo show how to use TImageEnList to store images, make changes to an image and replace an image in the TIEImageList with an edited image.

Download: www.ImageEn.com/files/Other/w2m_imageenimagelist.zip

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development
Go to Top of Page

w2m

USA
1957 Posts

Posted - Apr 10 2014 :  11:04:02  Show Profile  Reply
Threaded Image Processing
by William Miller Adirondack Software
Full Source
Compiled with Delphi XE4 (Requires Delphi 2010 or higher and ImageEn 4.3.0 or higher with iexHelperFunctions)
Lines of Code: 1,481



This demo does image processing in a secondary thread. Trackbars can be used to change image brightness, contrast, and saturation in a secondary thread. Before each processing event the a copy of the original image is used for the processing to provide the optimum result. AutoImageEnhance 1, 2 and 3 are a one step process that does not use trackbars, but consume a significant amount of time so these are threaded as well. The thread system is designed to easily be add other image processing procedures. The demo also includes Undo and Reset (all undo) and Most Recent Files (MRU) image opening as well as Save and SaveAs. The thread class can easily be copied and implemented in your own application with for your specific processing needs. You must add some code to the thread for your own processing procedure using techniques used in the thread for new procedures.

Image processing is very fast as the trackbars operate on a thumbnail of the full image. "Apply" buttons for each task is also provided to apply the previewed effect to the full image which is also run in the secondary thread. The thumbnail preview as well the full image effects can be undone.

Download: www.ImageEn.com/files/Other/w2m_threadedprocessing.zip

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development
Go to Top of Page

w2m

USA
1957 Posts

Posted - Apr 29 2014 :  19:28:26  Show Profile  Reply
Synchronize Two ImageEn Vectorials
by William Miller/Adirondack
Full Source
Lines of Code: 481
Compiled with DelphiXE4, but is expected to compile with Delphi 2010 or higher. Requires ImageEn version 5 or higher because it uses iexhelperfunctions, but can be modified to compile with earlier versions of ImageEn.

This demo shows how to assign one TImageEnVect to another TImageEnVect, how to assign IO.Params from one TImageEnVect to another TImageEnVect and how to synchronize the zoom, scrolling (View) and objects between two different TImageEnVect's. Object selections, additions and deletions are synchronized between the two vectorials.

To operate the demo, select the Add Box, Add Ellipse, Add Line and Add Bitmap buttons to add 4 objects. Then select the Select Button to select objects in either ImageEnVect. Select the Delete button to delete selected objects or select the Delete All button to delete all objects. After selecting an object in either vectorial, move and/or resize the objects and watch the object be resized or moved in the other vectorial. Press and hold the SHIFT key and you may select multiple objects. Select the Reset button to clear.



Download: www.ImageEn.com/files/Other/w2m_syncimageenvect.zip

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development
Go to Top of Page

w2m

USA
1957 Posts

Posted - May 29 2014 :  10:31:27  Show Profile  Reply
Windows 8 Style Icons for ImageEn
by William Miller/Adirondack
The zip file contains a 434 of windows 8 style icons with an icon inside a black circle. I created a lot of these by hand while some were obtained from the web. Includes 32x32 and 64x64 size glyphs. Additional glyphs added since original post.

Partial list of Glyphs:


Download: http://www.imageen.com/files/other/ImageEnWin8Glyphs.zip

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom Commercial ImageEn Development
Go to Top of Page

w2m

USA
1957 Posts

Posted - Jul 13 2014 :  08:55:12  Show Profile  Reply
An Illusion Of Transparency Updated- 08/05/14
Full Source
Price: Free
Lines Of Code: 212
TImageEnMView does not support transparency which is a "show stopper" when creating an application that uses transparent panels placed on top of TImageEnView to hold various controls including ImageEnMView. Over the last several weeks I have searched extensively for a thumbnail component that supports transparency for a clients application and was unable to find one. I also tried various skinning components to achieve transparency, but those attempts failed as well. After much thought and experimentation I was finally able to achieve an illusion of transparency with TImageEnMView. I decided to release a free demo to show ImageEn Developers how this can be accomplished because I spent so much time and research trying to render TImageEnView "transparent".

This demo illustrates how to achieve an illusion of transparency with TImageEnMView. This provides a satisfactory illusion that mageEnMView is 100% transparent when actually it is not transparent at all. This demo uses a TImageEnView client aligned to the form. A TPanel is placed on TImageEnView and is aligned to the right. A TImageEnMView is placed on the TPanel. An illusion of transparency can be achieved by creating a bitmap from the image loaded into TImageEnView by using a portion of the TImageEnView.Bitmap as wallpaper for TImageEnMView.

The original code used ImageEnView1.CopySelectionToBitmap to load the wallpaper. The revised code to load the wallpaper was developed by Nigel Cross and it uses PaintToEx and CopyRect to obtain a bitmap of the image under the TImageEnMView. This improved code is faster than the original code, eliminates the need to use a selection and works at all zoom levels.
Source:
./attach/w2m/201485105122_AssignWallpaper.zip

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

spetric

Croatia
221 Posts

Posted - Sep 02 2014 :  04:54:36  Show Profile  Reply
Polyline simplification/spline drawing

Here is one simple demo showing the usage of Douglas-Peucker polyline simplification algorithm and Catmull-Rom spline drawing.

After free-hand polyline is drawn in ImageEnVect (miPutPolyLine), you can simplify polyline by pressing "Simplify" button, or construct spline curve by pressing "Spline" button.
NOTE: Spline curve is constructed from simplified polyline, ie. simplification is automatically performed prior to spline drawing.



Here is the source code in XE5 C++, but it can be easily ported to Delphi:

./attach/spetric/20149253344_ien_spline_source.zip

Here is BCB6 version source code, with demo exe (it fit into 2M limit) :

./attach/spetric/201492123912_ien_spline_bcb6.zip

There is a little difference between XE5 and BCB6 code, because in XE5 I use ImageEn 5.1.1 and in BCB6 ImageEn 3.0.2. The difference is in polyCount number :)
Go to Top of Page

rmklever

Norway
36 Posts

Posted - Jan 13 2015 :  20:35:34  Show Profile  Reply
Voronoi FX
by Roy Magne Klever
Full source code and Exe demo



This is a sample of an fx effect using voronoi diagram. I think it is quite cool and work well as an fx.

I did use the "voronoi diagram in regular grid" lua script found in the Lua binding post by spetric to learn how to create a Voronoi diagram so cred to spetric for his contribution.

If you improve the effect regarding speed or result I sure would like to see it.

Enjoy and have fun:

Download: attach/rmklever/201511320043_FxVoronoi.zip
1904.55 KB

I do hope you find it interesting and useful.

Roy M Klever
Klever on Delphi - www.rmklever.com
Go to Top of Page

xequte

4143 Posts

Posted - Jan 13 2015 :  21:02:35  Show Profile  Reply
Hi Roy

That's a really cool demo. I enjoyed playing with it a lot!

I had a look at some of the other demos too at rmklever.com. Nice work.

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

Uwe

272 Posts

Posted - Jan 19 2015 :  17:38:33  Show Profile  Reply
Great demo, Roy. Thanks for sharing.

Cheers
-Uwe
Go to Top of Page

spetric

Croatia
221 Posts

Posted - Feb 26 2015 :  14:41:11  Show Profile  Reply
Hi Roy,

Great mosaic fx! I have extended "Voronoi diagram in regular grid" scrip to accept not only square grid, but also rectangular grid, where cells can also be shifted in order to create "brick-style" layout.

Because of this, I made a slightly modification in algorithm, in the part where neighboring cells are inspected (function find_closest). I have also added various intensity fall-off modes (lines 144 - 146).

Here is the script:

attach/spetric/2015226143851_voronoi_regular_grid.zip
2.16 KB

Here is an example (the bird on the bottom of the FB page https://www.facebook.com/Pixopedia):

https://www.facebook.com/Pixopedia/posts/816203735112862

I forgot something. A really cool enhancement in your demo would be to add multipass mosaik effect. The first pass goes with big size grid, let's say 60. The second pass goes with half size (30) and prior of drawing each "cell" checks average error inside new cell against some threshold value (difference between pixels of original image and image created in the first step). If average error is above specified threshold cell is drawn, otherwise not. The same thing goes for the third pass and so on.

Alternative solution, in one pass, is to perform some adaptive seeding (more points in areas with more "color changes") and then perform general Voronoi tessellation, using Fortune's algorithm. I think I saw Fortune's algorithm implementation in Delphi somewhere on the web.
Go to Top of Page
Page: of 7 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To: