Author |
Topic  |
xequte
    
37818 Posts |
Posted - Feb 02 2014 : 22:03:18
|
250 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
    
37818 Posts |
Posted - Feb 02 2014 : 22:06:47
|
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 |
 |
|
xequte
    
37818 Posts |
|
w2m
   
USA
1990 Posts |
Posted - Feb 03 2014 : 09:27:07
|
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 |
 |
|
w2m
   
USA
1990 Posts |
|
w2m
   
USA
1990 Posts |
Posted - Feb 04 2014 : 19:08:01
|
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 |
 |
|
w2m
   
USA
1990 Posts |
Posted - Feb 05 2014 : 12:42:48
|
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 |
 |
|
w2m
   
USA
1990 Posts |
|
w2m
   
USA
1990 Posts |
|
w2m
   
USA
1990 Posts |
|
spetric
  
Croatia
308 Posts |
Posted - Mar 14 2014 : 04:57:09
|
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. |
 |
|
w2m
   
USA
1990 Posts |
|
w2m
   
USA
1990 Posts |
Posted - Apr 10 2014 : 11:04:02
|
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 |
 |
|
w2m
   
USA
1990 Posts |
|
w2m
   
USA
1990 Posts |
Posted - Jul 13 2014 : 08:55:12
|
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 |
 |
|
spetric
  
Croatia
308 Posts |
Posted - Sep 02 2014 : 04:54:36
|
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 :) |
 |
|
rmklever
 
Norway
50 Posts |
Posted - Jan 13 2015 : 20:35:34
|
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 |
 |
|
xequte
    
37818 Posts |
|
Uwe
  
284 Posts |
Posted - Jan 19 2015 : 17:38:33
|
Great demo, Roy. Thanks for sharing.
Cheers -Uwe |
 |
|
spetric
  
Croatia
308 Posts |
Posted - Feb 26 2015 : 14:41:11
|
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. |
 |
|
rmklever
 
Norway
50 Posts |
Posted - Mar 01 2015 : 15:38:40
|
Hi Spetric,
Thanks for the updated script, it is very good.
I have updated the Voronoi demo to include some of your changes...

Spetric, you have some very nice effects in your program Pixopedia. I did not test it recently but on your FB pixopedia page you had a very great auto brush sample. We are doing much of the same stuff but I think you are a step in front of me. Good inspiration.
Regarding multipass fx, I do not have any idea of how to implement a multipass mosaic effect.. and I guess it would be quite messy too.
This demo is just a quick and dirty demo of some cool mosaic fx you can do using voronoi diagram. I built the effect on the script above by Spetric.
Here is the Delphi files and Exe so you can test it...
attach/rmklever/201531152424_FXVoronoi.zip 1963.19 KB
As usually I do hope you find it interesting and useful.
Roy M Klever Klever on Delphi - www.rmklever.com |
 |
|
Topic  |
|