PhotoFiltre for Linux and Mac OS ? (Lazarus)

You think you have found a bug ? You've got a suggestion to modify PhotoFiltre ? /
Ĉu vi opinias vi trovis malbonadĵon ? Ĉu vi havas sugeston por modifi PhotoFiltre ?

Modérateur : Modérateurs

Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12765
Inscription : 28 oct. 2003 22:49

PhotoFiltre for Linux and Mac OS ? (Lazarus)

Message 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
lily24

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

Message 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?
macsou
Posteur(se) acharné(e)|Posteur acharné|Posteuse acharnée
Posteur(se) acharné(e)|Posteur acharné|Posteuse acharnée
Messages : 873
Inscription : 14 août 2006 22:18

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

Message 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?
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12765
Inscription : 28 oct. 2003 22:49

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

Message 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...
Mészáros Tamás
Régulier(ère)|Régulier|Régulière
Régulier(ère)|Régulier|Régulière
Messages : 126
Inscription : 13 juin 2006 11:44
Version de PhotoFiltre : PhotoFiltre Studio 10.13.1
Système d'exploitation : Win 7 Home Premium SP1
Processeur : AMD II X2 Athlon 265 3.3 GHz
Mémoire RAM : 8 Gbyte DDR3 2133 MHz Predator Kingston RAM
Localisation : Hungary, Devecser

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

Message 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:
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12765
Inscription : 28 oct. 2003 22:49

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

Message par Antonio »

new beta : support now Open EXR, HDR and RAW images with the library FreeImage
Mészáros Tamás
Régulier(ère)|Régulier|Régulière
Régulier(ère)|Régulier|Régulière
Messages : 126
Inscription : 13 juin 2006 11:44
Version de PhotoFiltre : PhotoFiltre Studio 10.13.1
Système d'exploitation : Win 7 Home Premium SP1
Processeur : AMD II X2 Athlon 265 3.3 GHz
Mémoire RAM : 8 Gbyte DDR3 2133 MHz Predator Kingston RAM
Localisation : Hungary, Devecser

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

Message 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:
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12765
Inscription : 28 oct. 2003 22:49

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

Message par Antonio »

no change for me because i allready compiled with lazarus 1.8.4 and it use fpc 3 too :wink:
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12765
Inscription : 28 oct. 2003 22:49

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

Message 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...
Tom
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 13203
Inscription : 02 févr. 2005 9:35

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

Message par Tom »

Well, well, well, PF-Mini in progress ! :)
Where can we find the instructions set for the VScript tool ?
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12765
Inscription : 28 oct. 2003 22:49

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

Message 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...
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12765
Inscription : 28 oct. 2003 22:49

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

Message par Antonio »

beta 2 : some bugs fixed (need this beta for the VScript demo)
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12765
Inscription : 28 oct. 2003 22:49

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

Message 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)
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12765
Inscription : 28 oct. 2003 22:49

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

Message 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
Tom
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 13203
Inscription : 02 févr. 2005 9:35

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

Message par Tom »

Fine ! You have hidden an other gem :clap: