Visual Image-Converter / Script-Edit => Rel. 1.0 (Download)

Visual Image-Converter / Script-Edit => Rel. 1.0 (Download)

Postby ukoenig » Thu Aug 04, 2011 11:55 am

Hello,

I finished the new Image-converter and Script-Editor
Let me know, if still something missing !
Many things are still possible like extracting Frames of a Multiple TIF or adding Frames,
Noise-reduction ...

A sample : convert a Screencapture ( BMP ) to a new File ( JPG )

// Your Application-path
// ---------------------
c_path := CURDRIVE() + ":\" + GETCURDIR()
// Screencapture-name
// ------------------
cScreen := c_path + "\Screen1.BMP"
oDlg:SaveToBmp( cScreen )

// change Screencapture-format
// ---------------------------
cNewfile := c_path + "\Screen1.JPG"
IF FILE( cNewfile ) // delete a old File
DELETEFILE( cNewfile )
ENDIF

// The Convert-script
// -------------------
// Quite-mode => new File => Format => old File ( BMP )
cScript := '-quiet -o ' + cNewfile + ' -out jpeg -overwrite ' + cScreen
// Converts BMP to JPG with a new Filename
// ----------------------------------------
WAITRUN ( "NConvert " + cScript, 0 )

Also a nice Solution for NON-Fwh-users !!!

Download ( 4.2 MB )
http://www.pflegeplus.com/fw_downloads/convert1.zip

All new ( converted ) Images are saved like : Olga.jpg => _Olga.tif
Any new Style-selections will use the Original, You don't need to reload the Original by yourself.
There is a Button < Reload > that will force to display the Original.
The Button < Script > shows the needed Script after a converted Image.

From Command-line, You can call CONVERT.exe like < Convert .\images\olga.jpg 3 >
Convert will load Olga.jpg from subdir \images and displayes the Ribbonbar-Page Number 3 ( Watermark )

Load a Image :
( displayes the Name and full name with path )

Image

Sharpen a Image with a selected factor :

Image

Select a Contrast-factor for the Image :

Image

Define the Lens-radius for the Image :

Image

Watermarks on defined Position or predefined.
With TSelex-position 1 = ???, You can click on the Background-Image for the Watermark Top / Left-position.
All other Selections are predefined :
top-left, top-center, top-right, center-left, center, center-right, bottom-left, bottom-center, bottom-right

Image

Resize Image to defined Size : Width, Height or Percent :
( defined Horizontal ignores Vertical and defined Vertical ignores Horizontal )

Image

Rotate or Flip a Image :

Image

Convert a selected Image to a new Format
All Selections are creating a SCRIPT, You can add to Your Application.
( PDF is included. Some more needed ? )

Image

Crop a Image of a defined Area or Click on < Image TOP-left and BOTTOM-right > :

Image

Justify the brightness of a Image :

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Visual Image-Converter / Script-Edit => Rel. 1.0 (Download)

Postby ukoenig » Thu Aug 04, 2011 10:00 pm

Working on a Update,

some new Function will be added :

1. Four new Filters
2. Overwrite-mode ON /OFF with OFF the Files will have a Counter like _Olga_1.jpg, _Olga_2.jpg ...
3. A Destination-Directory can be defined, to save the created Images
Copy to ... ( will be saved to a INI )

New Filters :
Gray-scale, Mosaic, Swirl and Emboss

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Visual Image-Converter / Script-Edit => Rel. 1.0 (Download)

Postby ukoenig » Sat Aug 06, 2011 4:43 pm

Hello

A Update Info :

With the comming new Release, it will be possible,
to convert to any Format You like ( I will test from the List the Output-Formats, can be used )
To make this possible, I changed the EXPORT-section.
There is a new Listbox with 10 mostly used Formats and a new Getfield, to change the Extension.
With the new Button < Format-info >, You can open a Memolist of all possible File-Extensions
From there, You can copy the File-extension and paste it to the Getfield.
Tested and works perfect.

Image

Converted to Apple-Qicktime :

Image

The Qicktime-player :

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Visual Image-Converter / Script-Edit => Rel. 1.0 (Download)

Postby Armando » Sun Aug 07, 2011 2:15 pm

Uwe:

Nice and excelent job, as usually.

Thanks so much
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3087
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Visual Image-Converter / Script-Edit => Rel. 1.0 (Download)

Postby ukoenig » Sun Aug 07, 2011 3:10 pm

Armando,

thank You very much.
Nice to hear, You like it.

There will be a big bunch of new Functions, that makes the use much easier.

1. Saving the Exit-status to a Ini ( the used Image and Ribbon-page on Exit )
The next Start shows the Image and jumps to the Ribbon-page.

2. Added some more Filters

3. Possible, to add multiple Filters to a Image.

4. a Copyfunction, to save the new Image to any Directory.
The Save-directory is stored in the Ini as well.

5. Free Export-Image-type Selection ( can be selected from a Memo-field )
( I still have to test the Extensions for working Export )

Basic-file < YES > will keep the new Image for Painting, otherwise the Original will be used.

Image

Using Multiple Filters :

Image

Maybe I will have still some more Ideas ?

With the new Multifilter, it is also possible, to solve the Problem
to crop something from a Image with Scrollbars

1. We load and resize the Image to Screensize ( Multifilter must be activated )
2. From the Crop-page we click on Top/left and Botton/right for the Cropping-area
3. We crop the Image

Image

We resize to Screensize, moving to the Crop-page from Ribbonbar and cropping the Area with Mouseclicks

Image

The Result from Cropping, we can resize again.

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 77 guests