Page 1 sur 6

PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 20 févr. 2017 14:03
par Antonio
This is not a complete project but just a multi-OS/Full HDR prototype because I recently discovered the free pascal Lazarus and I like to develope with this tool. It incorporates interesting functions that I would add to the Studio version if I have enough time. It's not to replace the freeware version 7 or the Studio version, it's just for fun ;-)

Version 1.2 beta (Lazarus 2 / FPC 3)

:arrow: Windows 64-bits
http://www.photofiltre-studio.com/pfmin ... _win64.zip

:arrow: Windows 32-bits
http://www.photofiltre-studio.com/pfmin ... _win32.zip

:arrow: Linux 64-bits
http://www.photofiltre-studio.com/pfmin ... x_amd64.7z

:arrow: Linux 32-bits
http://www.photofiltre-studio.com/pfmin ... ux_i386.7z

:arrow: Mac OSX 64-bits
http://www.photofiltre-studio.com/pfmin ... _osx64.zip

Under Windows 10, you should activate manually the library FreeImage.dll (right click on the file)
Under Linux, to use the library FreeImage you should install the package libfreeimage3
Under Mac OSX, you should enable developper application on security preferences

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 21 mars 2017 17:54
par lily24
It would be very useful for me!! :clap:
I used Photofiltre a lot when i had a Windows computer, and now that i have a Macbook (iOS Sierra 10.12.3) i miss it a lot...
Would we have to pay for it?

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 23 mars 2017 10:08
par macsou
Today I no longer use a lot Photofiltre (except sometimes for screenshots and other utility tasks).
However, I find the initiative excellent. I tested the Windows version quickly and found no problems, everything seems to work as it should.
I particularly like the look of the selection that seems easier to manipulate than in version 6 of Photofiltre.
Do you plan to release all or part of the code in order to possibly accelerate the development?

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 25 mars 2017 16:14
par Antonio
I do not think the project will continue, there are no reaction. Users do not seem interested and it's a lot of works to create a multi os version...

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 20 mai 2017 13:30
par Mészáros Tamás
Antonio a écrit :I do not think the project will continue, there are no reaction. Users do not seem interested and it's a lot of works to create a multi os version...
I think good. Please continue this project. :clap:

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 12 janv. 2019 9:38
par Antonio
new beta : support now Open EXR, HDR and RAW images with the library FreeImage

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 05 mars 2019 16:04
par Mészáros Tamás
Antonio a écrit :new beta : support now Open EXR, HDR and RAW images with the library FreeImage

Windows 32-bits only :
http://www.photofiltre-studio.com/pfmini/pfmini_x32.zip
Lazarus 2.0 realised.
Image picture.
https://sourceforge.net/projects/lazarus/ more information.
Best Regards:

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 10 mars 2019 9:10
par Antonio
no change for me because i allready compiled with lazarus 1.8.4 and it use fpc 3 too :wink:

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 02 nov. 2019 14:24
par Antonio
I know it's not needed but it's just for fun because i like Lazarus ;-)
Now it's possible to draw. It's slower than PFSX because it's full HDR and need more resource and time...

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 05 nov. 2019 12:10
par Tom
Well, well, well, PF-Mini in progress ! :)
Where can we find the instructions set for the VScript tool ?

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 05 nov. 2019 19:00
par Antonio
it's to create vector graphic/icon using script and command line. I will post a sample tomorrow because i need to test some new functions...

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 06 nov. 2019 10:40
par Antonio
beta 2 : some bugs fixed (need this beta for the VScript demo)

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 13 nov. 2019 16:13
par Antonio
here is the function list for the module "Vectorial Script" (VScript)

clear <no param>
erase the image (Alpha channel is supported)

pen.Width = <integer 1..400>
set the width of the pen for stroke

pen.rounded = <true | false>
set the pen shape (rounded or square)

pen.color = <none | $AABBGGRR | R,G,B | R,G,B,A>
set the pen color for stroke

pen.style = <solide | dash | dot | dashdot>
set the pen style for stroke

fill.color = <none | $AABBGGRR | R,G,B | R,G,B,A>
set the color for fill (shape, polygon, bezier)

point = <x, y>
Draw a point at (x,y) using the pen/width color

line = <x1, y1, x2, y2>
Draw a line from (x1,y1) to (x2,y2), using the pen/width color

rectangle = <x1, y1, x2, y2>
Draw a rectangle from (x1,y1) to (x2,y2), using the pen/width color and fill color

square = <x, y, radius>
Draw a square centered at (x,y) with the defined radius, using the pen/width color and fill color

ellipse = <x1, y1, x2, y2>
Draw an ellipse contained in the rectangle (x1,y1) to (x2,y2), using the pen/width color and fill color

circle = <x, y, radius>
Draw a circle centered at (x,y) with the defined radius, using the pen/width color and fill color

roundrect = <x1, y1, x2, y2>
Draw a round rect from (x1,y1) to (x2,y2), using the pen/width color and fill color

losange = <x1, y1, x2, y2>
Draw a losange contained in the rectangle (x1,y1) to (x2,y2), using the pen/width color and fill color

triangle = <x1, y1, x2, y2>
Draw a triangle contained in the rectangle (x1,y1) to (x2,y2), using the pen/width color and fill color

polygon = <x1,y1,..xn,yn>
Draw a polygon, using the pen/width color. If the polygon is closed (last point = first point), use the fill color to fill

bezier = <x1,y1, x2,y2, x3, y3, x4,y4, ...>
Draw bezier curves using the pen/width color. Each curve needs 4 points. Point 1 = source point, Point 2 and 3 = control points, Point 4 = dest point. If the curves are closed (last point = first point), use the fill color to fill. Last point is common with the first point of the next curve (Point 4 of the previous curve = Point 1 of the next curve)

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 04 déc. 2019 14:07
par Antonio
beta 3 : compiled with the last Lazarus version 2.0.6

support batch script using the command tool > Batch script, exemple :

Code : Tout sélectionner

# disable the comment if you want to call the open dialog box
#Open

Fit 300 x 300
Grey
Contrast 50%
Balance 0, 0, -25
CanvasSize 320 x 320 pixels 0,0,0

# disable the comment if you want to call the save dialog box
#save

Re: PhotoFiltre for Linux and Mac OS ? (Lazarus)

Publié : 05 déc. 2019 10:13
par Tom
Fine ! You have hidden an other gem :clap: