New Plugin needs testing : Text2Path

All about plugins : Suggestions, bugs, etc... /
Tuto por etendadoj : sugestoj, malbonadĵoj, etc...

Modérateur : Modérateurs

cleon
Nouveau(elle)|Nouveau|Nouvelle
Nouveau(elle)|Nouveau|Nouvelle
Messages : 28
Inscription : 02 mars 2005 9:33
Version de PhotoFiltre : Win XP Pro sp2
Localisation : New Zealand
Contact :

Message par cleon »

hi pf,

your english is very good... so no need to worry about it :)


yeah, i forgot about the predefined selections... anyone know all the different formats? so far i have:

-1 = Rectangle
-2 = ellipse
-3 = rounded rect ... (don't know how much to round corners... any ideas?)
-6 = triangle
-10 = Rhombus
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12731
Inscription : 28 oct. 2003 22:49
Contact :

Message par Antonio »

rule for rounded rect :

R := SelRect;
L := Min(RectWidth(R), RectHeight(R)) div 4;
RoundRect(R.Left, R.Top, R.Right, R.Bottom, L, L);
JCB
Modérateur(trice)|Modérateur|Modératrice
Modérateur(trice)|Modérateur|Modératrice
Messages : 2898
Inscription : 10 févr. 2004 19:36
Version de PhotoFiltre : PF v11.4.2(x64)- PFS v10.14.1
Système d'exploitation : Windows 10 Home 64bits
Processeur : Intel inside Pentium
Mémoire RAM : 4 GB
Localisation : LILLE

Message par JCB »

Good evening,

Launch of the plugin.
Click 3 or 4 times on " Scale " (arrow upward).
Click 3 or 4 times on " Scale " (arrow downward).
The following error is displayed.

Image

Identical problem with "Location X" ou "Location Y".

Sorry for my English, I use a translator. :?
Cordialement,
cleon
Nouveau(elle)|Nouveau|Nouvelle
Nouveau(elle)|Nouveau|Nouvelle
Messages : 28
Inscription : 02 mars 2005 9:33
Version de PhotoFiltre : Win XP Pro sp2
Localisation : New Zealand
Contact :

Message par cleon »

ok thanks JCB... can you send me the aeroplane.pfs file so i can do some testing? at a guess i think the selection is too complicated :?

also can you tell me how much RAM you have on your PC.. it maybe a memory problem :?
JCB
Modérateur(trice)|Modérateur|Modératrice
Modérateur(trice)|Modérateur|Modératrice
Messages : 2898
Inscription : 10 févr. 2004 19:36
Version de PhotoFiltre : PF v11.4.2(x64)- PFS v10.14.1
Système d'exploitation : Windows 10 Home 64bits
Processeur : Intel inside Pentium
Mémoire RAM : 4 GB
Localisation : LILLE

Message par JCB »

Good evening,

To see the English site of PhotoFiltre.

Downloads --> Predefined selections for PhotoFiltre
11 selections donated by Jeroen de Bruijn
Misc shapes / May 2004 / 8 Kb

--------------------------------------------------
Processor: Intel Celeron 1.2Mhz
Operating system: Windows XP Home SP1
Memory RAM: 352 MB
Cordialement,
cleon
Nouveau(elle)|Nouveau|Nouvelle
Nouveau(elle)|Nouveau|Nouvelle
Messages : 28
Inscription : 02 mars 2005 9:33
Version de PhotoFiltre : Win XP Pro sp2
Localisation : New Zealand
Contact :

Message par cleon »

ok... the selection wasn't too complicated and it wasn't the memory problem either... it was a silly little bug instead :)

so there is yet another version now available :D

Changes:
bug fixes
support for some predefined selections:
Rectangle, bottom based triangle and Rhombus

ellipse and rounded rectangle require a little more thought ;)
JogyGeorge
Habitué(e)|Habitué|Habituée
Habitué(e)|Habitué|Habituée
Messages : 53
Inscription : 16 juin 2004 11:14
Version de PhotoFiltre : 6.2.0
Système d'exploitation : Win XP
Processeur : 2.4Ghz
Mémoire RAM : 256

Message par JogyGeorge »

Hi Cleon,
Been playing with this plugin for 2 days now, but did not leave comments as my PC is awfully slow and getting to the net would be awful. ... My comments.

1) Would it be possible for your plugin to not look at the selections folder, but also the subfolders? Most selections are categorized into subfolders and it would be nice if it looked at them too!

2) Make it so that the plugin remembers the font, colour, size and maybe, the last used selection, location and text. You could probably make use of the PhotoFiltre.ini file for this.

3) Maybe a little too much, but it would be really nice and much more convenient if we could drag the selection to an appropriate loaction rather than use the X,Y values.

4) Have button to get the selection to the centre of the picture.

5) Below the Fontbox, you could use the space to have the colour box. This would allow to choose colours not in the colour list.

6) Don't know if it would be possible, but allow the user to just draw up a selection or choose a selection, size it, position it and then invoke your plugin to write around the path ... would be the best as it would not require using selections in a particular folder only.

7) Not related to the plugin itself, but could you put in a link to your plugin in your signature on this forum. When an update is made, it would be very easy for users to download the update. ... atleast while its in beta phase.

Hope those ideas are worth considering!

Cheers!
Tom
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 13191
Inscription : 02 févr. 2005 9:35
Contact :

Message par Tom »

Hi Cleon,
Very nice work !
JogyGeorge was awaked before me and he has just wroten that i think about subfolders access and a way to invoke you plugin from a selection located on the workspace.
I enjoy to try the next releases.
Thanks and cheers. :wink:
Bien plus facile avec PhotoFiltre. Cordialement.
. . Image . . Image
cath
Seigneur des posts
Seigneur des posts
Messages : 2305
Inscription : 29 oct. 2003 14:38
Localisation : Savoie
Contact :

Message par cath »

Bonjour :wink:

Désolé, j'ai installé le plugin et testé un peu, mais mon Anglais est trop mauvais pour échanger des impressions... :cry:
Cordialement, Cath
GraPhoFil,Graficat... et mon Blog-photo
cleon
Nouveau(elle)|Nouveau|Nouvelle
Nouveau(elle)|Nouveau|Nouvelle
Messages : 28
Inscription : 02 mars 2005 9:33
Version de PhotoFiltre : Win XP Pro sp2
Localisation : New Zealand
Contact :

Message par cleon »

cath a écrit :Bonjour :wink:

Désolé, j'ai installé le plugin et testé un peu, mais mon Anglais est trop mauvais pour échanger des impressions... :cry:
hello cath,

just reply in french... i've been using google to translate from french to english for some messages and so far it seems to work well :)
cath
Seigneur des posts
Seigneur des posts
Messages : 2305
Inscription : 29 oct. 2003 14:38
Localisation : Savoie
Contact :

Message par cath »

...Also I will try...
Cordialement, Cath
GraPhoFil,Graficat... et mon Blog-photo
cleon
Nouveau(elle)|Nouveau|Nouvelle
Nouveau(elle)|Nouveau|Nouvelle
Messages : 28
Inscription : 02 mars 2005 9:33
Version de PhotoFiltre : Win XP Pro sp2
Localisation : New Zealand
Contact :

Message par cleon »

JogyGeorge a écrit :Hi Cleon,
Been playing with this plugin for 2 days now, but did not leave comments as my PC is awfully slow and getting to the net would be awful. ... My comments.

1) Would it be possible for your plugin to not look at the selections folder, but also the subfolders? Most selections are categorized into subfolders and it would be nice if it looked at them too!

2) Make it so that the plugin remembers the font, colour, size and maybe, the last used selection, location and text. You could probably make use of the PhotoFiltre.ini file for this.

3) Maybe a little too much, but it would be really nice and much more convenient if we could drag the selection to an appropriate loaction rather than use the X,Y values.

4) Have button to get the selection to the centre of the picture.

5) Below the Fontbox, you could use the space to have the colour box. This would allow to choose colours not in the colour list.

6) Don't know if it would be possible, but allow the user to just draw up a selection or choose a selection, size it, position it and then invoke your plugin to write around the path ... would be the best as it would not require using selections in a particular folder only.

7) Not related to the plugin itself, but could you put in a link to your plugin in your signature on this forum. When an update is made, it would be very easy for users to download the update. ... atleast while its in beta phase.

Hope those ideas are worth considering!

Cheers!
Thanks for your great ideas!... i'm working on them... and should have a solution soon :D
cleon
Nouveau(elle)|Nouveau|Nouvelle
Nouveau(elle)|Nouveau|Nouvelle
Messages : 28
Inscription : 02 mars 2005 9:33
Version de PhotoFiltre : Win XP Pro sp2
Localisation : New Zealand
Contact :

Message par cleon »

ok... so there is another version now...

* supports subfolders for selections
* remembers last settings for plugin (font, path, colour, location etc)... so its easy to do effects like shadow now
* added ability to click on the preview thumbnail for easy positioning of the path
* added button to center path on image
* created a new font dialog to choose fonts (can now select any colour)

let me know how it works :)
cleon
Nouveau(elle)|Nouveau|Nouvelle
Nouveau(elle)|Nouveau|Nouvelle
Messages : 28
Inscription : 02 mars 2005 9:33
Version de PhotoFiltre : Win XP Pro sp2
Localisation : New Zealand
Contact :

Message par cleon »

JogyGeorge a écrit :...
6) Don't know if it would be possible, but allow the user to just draw up a selection or choose a selection, size it, position it and then invoke your plugin to write around the path ... would be the best as it would not require using selections in a particular folder only.
...
the plugin SDK, i don't think, supports what i need to do this task... maybe Antonio (or another developer) can add a function to the sdk? .. it would make this plugin very useful if it was able to do this.

the function would be something like (in Delphi):

function GetSelStructure: TStringList;

which would return the same format of the current selection as when it is saved... eg:

6
50;0
0;80
50;160
140;160
190;80
140;0

What do you think Antonio? ... a posibility?
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12731
Inscription : 28 oct. 2003 22:49
Contact :

Message par Antonio »

for the moment, only the function GetSelMask exists. It return a bitmap in grayscale mode with the shape of the selection. But it's difficult to create a path with this bitmap (i know some windows API can do a part of this work...)
Répondre