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
Next Page
Author Previous Topic Topic Next Topic
Page: of 8

xequte

38107 Posts

Posted - Feb 02 2014 :  22:03:18  Show Profile  Reply
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

38107 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

38107 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
1990 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
1990 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
1990 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
1990 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
1990 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
1990 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

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
1990 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
308 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
1990 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
1990 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
1990 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
1990 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
308 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
51 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

38107 Posts

Posted - Jan 13 2015 :  21:02:35  Show Profile  Reply
Image Editor Demo

Image editor with support for:
- Color conversion
- Resizing and rotation
- Lossless conversion




Full Source and Demo EXE: www.ImageEn.com/files/Other/ConvertToDemo.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

Uwe

284 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
308 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

rmklever

Norway
51 Posts

Posted - Mar 01 2015 :  15:38:40  Show Profile  Reply
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
Go to Top of Page
Page: of 8 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
Jump To: