Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 24/11/2011, à 13:01

serviteur

[ RESOLU ] Vectorisation avec KVEC

Salut,

j'ai téléchargé KVEC 3.96 for Linux 32 Bit
sur le site: http://www.kvec.de/english/index.htm
il est dit: Quick start (commandline version): Open a console session, unzip the KVEC archive and type: KVEC (input file) (output file) -for (format) That is all! There is no installation procedure.

J'ai décompressé KVEC archive dans mon  /home sur ubuntu 10.04 LTS

Dans console le texte ne fonctionne pas
exemple:

serviteur@creation:~$ cd
serviteur@creation:~$ cd kvec_39
serviteur@creation:~/kvec_39$ kvec iso.pdf iso.dxf -format dxf
kvec : commande introuvable
serviteur@creation:~/kvec_39$ taiwan.jpg taiwan.dxf -format dxf
taiwan.jpg : commande introuvable
serviteur@creation:~/kvec_39$ 


serviteur@creation:~$ cd kvec_39
serviteur@creation:~/kvec_39$ KVEC iso.pdf iso.dxf
KVEC : commande introuvable
serviteur@creation:~/kvec_39$ taiwan.jpg taiwan.dxf
taiwan.jpg : commande introuvable
serviteur@creation:~/kvec_39$


Quel est le  problème?

Cordialement

Dernière modification par serviteur (Le 05/12/2011, à 23:55)


" Le disciple (serviteur) n'est pas plus que le maître; mais tout disciple accompli sera comme son maître." Luc 6:40;  Jean. 13:16

HP EliteBook Workstation Intel i7 2760QM, 16GB RAM, Nvidia Quadro 4000M
HP Z8 G4  2X: Intel Xeon Silver 4108 CPU, 32 GB RAM, Nvidia Geforce RTX  2070 Super

Hors ligne

#2 Le 28/11/2011, à 16:32

serviteur

Re : [ RESOLU ] Vectorisation avec KVEC

salut,

j'ai essayé test mais sans succès.

Je ne sais pas dans quel dossier sont les fichiers que tu veux traiter, mais il faudra sûrement aussi indiquer à "kvec" le chemin où il pourra les trouver. a écrit :

Je ne sais pas dans quel dossier sont les fichiers que tu veux traiter,
mais il faudra sûrement aussi indiquer à "kvec" le chemin où il pourra les trouver.

J'ai mis le fichier également dans /home/serviteur/kvec_39/taiwan.jpg

Comment indiquer a kvec le chemin?

le test

serviteur@creation:~$ ./kvec_39/kvec
Keyfile not found: status unregistered
KVEC commandline-version. Vectorization of raster files.
Operating System: Linux
------------- Unregistered free Shareware-Version ---------------------
------------- Use of this program is at your own risk -----------------
Version 3.96     Copyright (c) KK-Software, 1996 - 2006

Syntax: (for detailed syntax use '-ehelp' or '-ghelp')
kvec (Input-Raster-File) (Output-Vector-File) [switches (optional)]

Switches in alphabetical order: (may be abbreviated)
-bezier:       Generate Bezier-curves
-black:        Output-color is always black
-centerline... Generates single lines if linewidth small enough
-colspace...   Colorspace conversion parameters
-colsep...     Color-Separation parameters
-dimension N:  Max. size of image length/width in pixels (DEFAULT: 1000)
-dither...:    Set dither options (Default: dithering off)
-dxfopt...     Parameters for generating 3D-DXF (see documentation)
-fill solid:   Polygons are closed, filled with individual colors (DEFAULT)
-fill line:    Polylines with individual colors (not closed)
-fill contour: Closed polylines with individual colors (contours)
-font:         Best set of parameters choosen to vectorize images with text
-format...     Specify output format (Default: WMF)
-gapfill:      max. distance between disjunct points that will be joined
-grit N:       Details of size smaller than N pixels will be filtered out
-hatch1...     Hatching and cross hatching (DXF or HPGL)
-hatch2...     Hatching and cross hatching (DXF or HPGL)
-justify ...   Parameters for justifying raster files (see documentation)
-kvc...        Parameters for output KVC files (see documentation)
-lwidth N:     Line width for filltype line or centerline (DEFAULT: 0)
-maxpoints N:  The max. no. of points in a polyline will be limited to N
-mode...       Set mode to anisotropic or isotropic
-monitor       Turn on progress monitor
-overlapp:     Polygons will slightly overlapp (DEFAULT: no overlapp)
-palette...:   Set options for color palette when reducing colors
-paper FORMAT: Select papersize, e.g. -paper A4. (DEFAULT: -paper LETTER)
-quantize N:   No. of desired quantized colors in output-file
-random...     Parameters for the generation of random test images
-reduce...     Type of line reducing (Default: orthogonal)
-resolution... Set high or low resolution for vectorization
-rotate N      Set rotation angle in degrees (default: 90.0)
-scale...      Scaling factors for output (DEFAULT: 1.0)
-sort...       Type of sort order for vectors (Default: max to min)
-subsampling:  Vectors will be subsampled by a factor 2
-sysmalloc on/off: Turn ON/OFF system-malloc routines (DEFAULT: ON)
-tcolor...     handling of transparency color
-text on/off:  Generate/Suppress text-output (DEFAULT: text on)
-tiff...       Parameters for output Tiff files (see documentation)
-trim:         Trim picture (DEFAULT: off), for WMF-input only
-voblack dark: Only the darkest color will be vectorized
-voblack nwhite: All colors except the brightest color will be vectorized
-vblack:       Only the darkest color and the brightest color will be vectorized

More switches for experienced users (registered only)
-debug N:      Generate debug-output level N (1-8) (DEFAULT: No debug)
-debug all:    Generate detailed debug-output
-delta N:      Max. color-tolerance between 1st and 2nd layer picture
-errbez N:     Error-Parameter for Bezier-curves (DEFAULT: 3)
-group:        generates groups of nested objects (ART-format)
-lossless:     Generate lossless image. May need enormous memory
-pattern ...   Color shading (if filltype is solid). Default: No color shading-process <instruction-list>: apply a set of operations to input bitmap
-progressive...handling of progressive images with 2 Layers
-random N1 N2: Set colordepth (N1) and type (N2) of random test images
-smooth...     Smoothing of polylines (DEFAULT: ON for DXF and Postscript)
-smooth off:   Do not smooth polylines
-subimage N:   Use subimage No. N in inputfile (Tiff or FAX files)
-vcolor R G B: Only pixels with color RGB will be vectorized

Other switches:
-ehelp <switch>:Help about <switch> in English language
-ghelp <switch>:Help about <switch> in German language
-info:         Info about KVEC
-printform:    Generate registration-form for KVEC
-register:     Register KVEC
-readpar [file]:   Read parameters from KVEC.PAR or [file]
-writepar [file]:  Generate parameter file KVEC.PAR or [file]
processing time: 0 Seconds
0 vectors generated

serviteur@creation:~$ cd kvec_39
serviteur@creation:~/kvec_39$ ./kvec
Keyfile not found: status unregistered
KVEC commandline-version. Vectorization of raster files.
Operating System: Linux
------------- Unregistered free Shareware-Version ---------------------
------------- Use of this program is at your own risk -----------------
Version 3.96     Copyright (c) KK-Software, 1996 - 2006

Syntax: (for detailed syntax use '-ehelp' or '-ghelp')
kvec (Input-Raster-File) (Output-Vector-File) [switches (optional)]

Switches in alphabetical order: (may be abbreviated)
-bezier:       Generate Bezier-curves
-black:        Output-color is always black
-centerline... Generates single lines if linewidth small enough
-colspace...   Colorspace conversion parameters
-colsep...     Color-Separation parameters
-dimension N:  Max. size of image length/width in pixels (DEFAULT: 1000)
-dither...:    Set dither options (Default: dithering off)
-dxfopt...     Parameters for generating 3D-DXF (see documentation)
-fill solid:   Polygons are closed, filled with individual colors (DEFAULT)
-fill line:    Polylines with individual colors (not closed)
-fill contour: Closed polylines with individual colors (contours)
-font:         Best set of parameters choosen to vectorize images with text
-format...     Specify output format (Default: WMF)
-gapfill:      max. distance between disjunct points that will be joined
-grit N:       Details of size smaller than N pixels will be filtered out
-hatch1...     Hatching and cross hatching (DXF or HPGL)
-hatch2...     Hatching and cross hatching (DXF or HPGL)
-justify ...   Parameters for justifying raster files (see documentation)
-kvc...        Parameters for output KVC files (see documentation)
-lwidth N:     Line width for filltype line or centerline (DEFAULT: 0)
-maxpoints N:  The max. no. of points in a polyline will be limited to N
-mode...       Set mode to anisotropic or isotropic
-monitor       Turn on progress monitor
-overlapp:     Polygons will slightly overlapp (DEFAULT: no overlapp)
-palette...:   Set options for color palette when reducing colors
-paper FORMAT: Select papersize, e.g. -paper A4. (DEFAULT: -paper LETTER)
-quantize N:   No. of desired quantized colors in output-file
-random...     Parameters for the generation of random test images
-reduce...     Type of line reducing (Default: orthogonal)
-resolution... Set high or low resolution for vectorization
-rotate N      Set rotation angle in degrees (default: 90.0)
-scale...      Scaling factors for output (DEFAULT: 1.0)
-sort...       Type of sort order for vectors (Default: max to min)
-subsampling:  Vectors will be subsampled by a factor 2
-sysmalloc on/off: Turn ON/OFF system-malloc routines (DEFAULT: ON)
-tcolor...     handling of transparency color
-text on/off:  Generate/Suppress text-output (DEFAULT: text on)
-tiff...       Parameters for output Tiff files (see documentation)
-trim:         Trim picture (DEFAULT: off), for WMF-input only
-voblack dark: Only the darkest color will be vectorized
-voblack nwhite: All colors except the brightest color will be vectorized
-vblack:       Only the darkest color and the brightest color will be vectorized

More switches for experienced users (registered only)
-debug N:      Generate debug-output level N (1-8) (DEFAULT: No debug)
-debug all:    Generate detailed debug-output
-delta N:      Max. color-tolerance between 1st and 2nd layer picture
-errbez N:     Error-Parameter for Bezier-curves (DEFAULT: 3)
-group:        generates groups of nested objects (ART-format)
-lossless:     Generate lossless image. May need enormous memory
-pattern ...   Color shading (if filltype is solid). Default: No color shading-process <instruction-list>: apply a set of operations to input bitmap
-progressive...handling of progressive images with 2 Layers
-random N1 N2: Set colordepth (N1) and type (N2) of random test images
-smooth...     Smoothing of polylines (DEFAULT: ON for DXF and Postscript)
-smooth off:   Do not smooth polylines
-subimage N:   Use subimage No. N in inputfile (Tiff or FAX files)
-vcolor R G B: Only pixels with color RGB will be vectorized

Other switches:
-ehelp <switch>:Help about <switch> in English language
-ghelp <switch>:Help about <switch> in German language
-info:         Info about KVEC
-printform:    Generate registration-form for KVEC
-register:     Register KVEC
-readpar [file]:   Read parameters from KVEC.PAR or [file]
-writepar [file]:  Generate parameter file KVEC.PAR or [file]
processing time: 0 Seconds
0 vectors generated

serviteur@creation:~/kvec_39$ taiwan.jpg taiwan.dxf -format dxf
taiwan.jpg : commande introuvable
serviteur@creation:~/kvec_39$

Le fichier Readme.txt

******************************************************************************
*                    K V E C   R E A D M E   F I L E                         *
*                         (License conditions)                               *
*                                                                            *
*    +++ KK-Software +++ KK-Software +++ KK-Software +++ KK-Software +++     *
*----------------------------------------------------------------------------*
*    Author: Karl-Heinz Kuhl, Brunnlohestr. 2, 92637 Weiden,  Germany        *
*----------------------------------------------------------------------------*
*         Voice           FAX                        E-Mail                  *
*    +49 961 6340837   +49 961 61455          support@kvec.de                *
******************************************************************************

This program is licensed under the shareware concept.

The shareware version of KVEC, which can be recognized by the message 
"Unregistered shareware version" when the program is started, may be freely
distributed, as long as it is complete. It may not be altered in any way or
distributed by public domain distribution companies without further inquiry.
Furthermore it is not allowed to modify the program or any part of it in any
manner or to disassemble the program.

The shareware concept gives the user the chance to use the program for a 
trial period of 30 days and allows him to determine its suitability. 
After this period the user MUST register each copy of KVEC that runs
simultaneously. 

KVEC is provided "as is", without warranty of any kind or guarantee of
fitness for a particular purpose, either expressed or implied, all of which
are hereby explicitly disclaimed.
The author is not liable for damages of any kind which occur by improper
use of the program by the user, or which were caused by properties of the
operating system under which the program runs.

How do I register KVEC?

There are three ways of registering KVEC:

- registration via Internet in our online-shop (http://www.kvec.de/english -> download)
- registration with the registration form generated by KVEC (KVEC -printf)
- registration via RegNet (Registration Network) ID:3749

In the second case fill out the registration form and send it to the author. Please 
use FAX if your choose creditcard payment.


The registration fees for KVEC amounts are available from the KVEC homepage.

If the user pays by bank remittance, the registration key will be delivered
as soon as the bank remittance arrives. It is strictly forbidden to give
out the registration key for use by other users.

In the case of publishing new releases of KVEC, no further costs occur for
registered users. They are automatically registered for the new version. 
The newest version of KVEC can be downloaded from my homepage.

Registrations by FAX, E-Mail, or postal mail to

KK-Software
Dipl.-Phys. Karl-Heinz Kuhl
Brunnlohestr. 2. 
92637 Weiden
Germany

Bank account:
Account No.#: 861713600, Commerzbank Weiden, BLZ 75340090
Accepted credit cards: MASTERCARD/EUROCARD, American Express

Voice:     (+49-961) 6340837 (Mo-Fr, 10-12 Uhr)
Fax/Voice: (+49-961) 61455   (24h)            
E-Mail:    support@kvec.de
WWW:       http://www.kvec.de

Differences between the shareware version and the registered version:

In the shareware version the message 'unregistered shareware version' does
not appear.

In the unregistered version some options are not available.
Options for registered users are described in the file KVEC.TXT.

The KVEC software (Copyright (C) 1997 - 2006 by KK-Software) was developed
by KK-Software with the exception of the JPEG reader with the exception of 
the JPEG reader and the zlib compression/decompression routines(see acknowledgements).

A C K N O W L E D G E M E N T S:
--------------------------------

The code for the JPEG reader was taken from the free JPEG library 
which is developed by the Independent JPEG Group (IJG).
Copyright (C) 1994-1998, Thomas G. Lane.

The FAX G3/G4 decompression and compression algorithms were derived from parts
of Sam Leffler's free Tiff library. 
Copyright (c) 1988-1997 Sam Leffler
Copyright (c) 1991-1997 Silicon Graphics, Inc.

The code for the SVGZ and Flash MX SWF format uses the zlib compression method and was
taken from the free zlib library developed by Jean-loup Gailly and Mark Adler (C) 1995-2002

Many thanks also to (in alphabetical order):


Carsten Gehle (for the implementation on NeXT platforms)

Till Jonas (for help with the AI-Format)

Marcello Krebber (for support of the ART-Format and for OS/2 specific questions)

Peter Neubaecker (for the 'bezier' algorithm and for the 'justifying'
                  algorithms and for the many discussions).

Matthias Oepen (for the implementation on the HP-UNIX platform)

Joe Czychosz (for the implementation of the thinning algorithm)



==============================================================================

******************************************************************************
*                    K V E C   R E A D M E   D A T E I                       *
*                         (Lizenz-Bedingungen)                               *
*                                                                            *
*    +++ KK-Software +++ KK-Software +++ KK-Software +++ KK-Software +++     *
*----------------------------------------------------------------------------*
*   Autor: Karl-Heinz Kuhl, Brunnlohestr. 2,  92637 Weiden,  Deutschland     *
*----------------------------------------------------------------------------*
*         Tel.            FAX                        E-Mail                  *
*    +49 961 6340837   +49 961 61455          support@kvec.de                *
******************************************************************************

Dieses Programm wird nach dem Sharewarekonzept vermarktet. 

Die Sharewareversion von KVEC, kenntlich durch die Meldung
"Unregistered shareware version" beim Programmstart, darf frei kopiert werden,
sofern sie vollstaendig ist. Sie darf in keiner Form veraendert,
oder ohne Rueckfrage durch Puplic-Domain-Versandtfirmen verschickt werden. 
Weiterhin ist es nicht erlaubt, das Programm oder Teile des Programms in
irgendeiner Form zu modifizieren oder zu disassemblieren.

Das Sharewarekonzept erlaubt einem Anwender, ein Programm innerhalb von 30
Tagen zu benutzen und zu testen, ob es fuer ihn brauchbar ist.  
Nach Ablauf dieser Zeit ist der Benutzer verpflichtet, das Programm entweder
registrieren zu lassen oder es nicht mehr zu verwenden. Ansonsten macht er
sich strafbar.

Der Autor uebernimmt keine Haftung fuer Schaeden irgendwelcher Art, die
durch unsachgemaessen Gebrauch des Programms duch den Benutzer verursacht
wurden, oder die von Eigenschaften des Betriebssystems herruehren, auf dem
KVEC laeuft.

Wie registriert man KVEC?

Es gibt drei Moeglichkeiten, KVEC registrieren zu lassen:
- Registrierung im Internet über unseren online-shop (http://ww.kvec.de/deutsch -> download)
- Registrierung mit Registrierungsformular (zu erzeugen mit KVEC -printf)
- Registrierung ueber RegNet (Registration Network) ID:3749
Im zweiten Fall fuellen Sie das Registrierungsformular aus und senden es an
den Autor (am Besten per FAX, wenn Sie per Kreditkarte bezahlen).

Die Registrierungsgebuehr fuer KVEC steht jeweils auf der KVEC homepage.
Die Preise sind incl. Mehrwertsteuer. Bei Bezahlung per Bankueberweisung
erfolgt die Lieferung des Registrierungsschluessels sobald die Ueberweisung
eingegangen ist. Es ist strikt untersagt, den Registrierungsschluessel zum
Gebrauch an andere Benutzer des Programms weiter zu geben.


Beim Erscheinen neuer Versionen von KVEC fallen fuer registrierte Benutzer
keine weiteren Kosten an. Sie sind automatisch  auch fuer die neue Version
registriert. Die neueste Version von KVEC steht immer in meiner Homepage zum
Download zur Verfuegung.

Registrierungen per FAX, E-Mail oder Briefpost an:


KK-Software
Inhaber:   Dipl.-Phys. Karl-Heinz Kuhl
Brunnlohestr. 2
92637 Weiden
Deutschland

Kto.Nr.: 861713600, Commerzbank Weiden, BLZ 75340090
Akzeptierte Kreditkarten: MASTERCARD/EUROCARD, American Express

Tel.:     (+49-961) 6340837 (Mo-Fr, 10-12 Uhr)
Fax:      (+49-961) 61455   (24h)            
E-Mail:   support@kvec.de
WWW:      http://www.kvec.de

Die Unterschiede zwischen der Sharewareversion und der registrierten Version:

In der registrierten Version erscheint beim Programmstart nicht mehr die 
Meldung: 'Unregistered shareware version'.

In der unregistrierten Version sind einige Optionen nicht verfuegbar
(siehe KVEC.TXT).

Die KVEC Software (Copyright (C) 1997 - 2006 by KK-Software) wurde
ausschliesslich von KK-Software entwickelt, mit Ausnahme des JPEG Readers
(siehe Acknowledgements)

A C K N O W L E D G E M E N T S:
--------------------------------

Der Code fuer den JPEG Reader wurde aus der freien JPEG library (Vers. 6b)
uebernommen, die von der Independent JPEG Group (IJG) entwickelt wird.
Copyright (C) 1994-1998, Thomas G. Lane.

Die FAX G3/G4 Kompressions- und Dekompressions-Algorithmen wurden aus Teilen
der frei verfuegbaren Tiff-Library von Sam Leffler abgeleitet. 
Copyright (c) 1988-1997 Sam Leffler
Copyright (c) 1991-1997 Silicon Graphics, Inc.

Der Code fuer die SVGZ und Flash MX SWF Formate benutzt die zlib Kompressions-Methode, die
von der freien zlib Library (entwickelt von Jean-loup Gailly and Mark Adler (C) 1995-2002)
uebernommen wurde.


Vielen Dank ausserdem an (in alphabetischer Reihenfolge):


Carsten Gehle (fuer die Implementierung auf der NeXT Plattform)

Till Jonas (fuer die Hilfe beim AI-Format)

Marcello Krebber (Fuer die Hilfe beim ART-Format und fuer OS/2 
                  spezifische Fragen)

Peter Neubaecker (Fuer den the 'bezier' Algorithmus und fuer den 
                  'justify' Algorithmus und fuer die vielen Diskussionen
                  und Anregungen).

Matthias Oepen (fuer die Implementierung unter HP-UNIX)

Joe Czychosz (fuer die Implementation des 'thinning' Algorithmus)

" Le disciple (serviteur) n'est pas plus que le maître; mais tout disciple accompli sera comme son maître." Luc 6:40;  Jean. 13:16

HP EliteBook Workstation Intel i7 2760QM, 16GB RAM, Nvidia Quadro 4000M
HP Z8 G4  2X: Intel Xeon Silver 4108 CPU, 32 GB RAM, Nvidia Geforce RTX  2070 Super

Hors ligne

#3 Le 05/12/2011, à 23:54

serviteur

Re : [ RESOLU ] Vectorisation avec KVEC

Salut,

Cela à marcher !

Cordialement


" Le disciple (serviteur) n'est pas plus que le maître; mais tout disciple accompli sera comme son maître." Luc 6:40;  Jean. 13:16

HP EliteBook Workstation Intel i7 2760QM, 16GB RAM, Nvidia Quadro 4000M
HP Z8 G4  2X: Intel Xeon Silver 4108 CPU, 32 GB RAM, Nvidia Geforce RTX  2070 Super

Hors ligne

#4 Le 07/12/2011, à 23:31

serviteur

Re : [ RESOLU ] Vectorisation avec KVEC

Salut MicP,

Merci pour tes encouragements;

Depuis ma conversion à Christ, je ne fête plus noël !!!

Cordialement


" Le disciple (serviteur) n'est pas plus que le maître; mais tout disciple accompli sera comme son maître." Luc 6:40;  Jean. 13:16

HP EliteBook Workstation Intel i7 2760QM, 16GB RAM, Nvidia Quadro 4000M
HP Z8 G4  2X: Intel Xeon Silver 4108 CPU, 32 GB RAM, Nvidia Geforce RTX  2070 Super

Hors ligne