Hi Wanderson:Wanderson wrote:I use Tscan32 class and works fantastic, but i want to transform a .jpeg picture saved by tscan32 to pdf document.
Any idea? I search in google about command line image converter but dont found any free solution.
Thanks in advance.
mmercado wrote:Hi Wanderson:Wanderson wrote:I use Tscan32 class and works fantastic, but i want to transform a .jpeg picture saved by tscan32 to pdf document.
Any idea? I search in google about command line image converter but dont found any free solution.
Thanks in advance.
You can do it directly from your FWH app usig TPdf class.
Here you can download TPdf class with a working xHarbour sample program: http://www.box.net/shared/qfbeha7cb7
Regards.
Manuel Mercado
ukoenig wrote:Hello,
You can use NCONVERT inside Your application in Command-line-mode
NCONVERT is free of charge
A sample :
same name with new format and resize ( TIFF to JPG ) :
cSCRIPT := "NCONVERT -out jpeg -resize 100 100 d:\T_VIEWER\IMAGE\A_LOGO1.TIFF"
WINEXEC ( "&cSCRIPT", 0 )
Download
http://www.brothersoft.com/nconvert-108781.html
Regards
Uwe
Wanderson wrote:mmercado wrote:Hi Wanderson:Wanderson wrote:I use Tscan32 class and works fantastic, but i want to transform a .jpeg picture saved by tscan32 to pdf document.
Any idea? I search in google about command line image converter but dont found any free solution.
Thanks in advance.
You can do it directly from your FWH app usig TPdf class.
Here you can download TPdf class with a working xHarbour sample program: http://www.box.net/shared/qfbeha7cb7
Regards.
Manuel Mercado
Thanks Manuel but i receive this erros:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_compress' referenced from E:\LANG\FWH0805\XH1.1.0\LIB\RTL.LIB|hbcomprs
Error: Unresolved external '_uncompress' referenced from E:\LANG\FWH0805\XH1.1.0\LIB\RTL.LIB|hbcomprs
Error: Unresolved external '_zError' referenced from E:\LANG\FWH0805\XH1.1.0\LIB\RTL.LIB|hbcomprs
Wanderson wrote:ukoenig wrote:Hello,
You can use NCONVERT inside Your application in Command-line-mode
NCONVERT is free of charge
A sample :
same name with new format and resize ( TIFF to JPG ) :
cSCRIPT := "NCONVERT -out jpeg -resize 100 100 d:\T_VIEWER\IMAGE\A_LOGO1.TIFF"
WINEXEC ( "&cSCRIPT", 0 )
Download
http://www.brothersoft.com/nconvert-108781.html
Regards
Uwe
Thanks ukoening but nconvert dont makes pdf.
ukoenig wrote:Hello Wanderson,
NCONVERTS includes a very powerful scripting-language.
The line above is just a small sample what is possible.
You can visit the forum, to find a solution, if You need something special.
Regards
Uwe
Hi Reynaldo:reinaldocrespo wrote:I tried to copile the latest tsbutton but bpaint.c yields 17 errors.
// defining some preprocessor directives for bcc32
Def ="__HARBOUR__"
// defining paths
BC ="c:\bcc55"
FW ="c:\FWH"
HB ="c:\xHarbour"
makepath[.prg] ="..\source\classes"
makepath[.c] =".\;..\source\function"
.prg.c:
$(HB)\bin\harbour $< /n /i..\include;$(FW)\include;$(HB)\include > comp.log
.c.obj:
$(BC)\bin\bcc32 -D$(Def) -O2 -c -I$(HB)\include;$(FW)\include $< >> comp.log
TSButton.c : TSButton.prg
TSBar.c : TSBar.prg
TSLines.c : TSLines.prg
TSRadio.c : TSRadio.prg
TSTSay.c : TSTSay.prg
TSGradie.c : TSGradie.prg
TSButton.obj : TSButton.c
TSBar.obj : TSBar.c
TSLines.obj : TSLines.c
TSRadio.obj : TSRadio.c
TSTSay.obj : TSTSay.c
TSGradie.obj : TSGradie.c
BPaint.obj : BPaint.c
TSButton.exe : BPaint.obj TSButton.obj TSBar.obj TSLines.obj TSRadio.obj TSTSay.obj TSGradie.obj
Del SButtonX.lib
$(BC)\bin\Tlib SButtonX +TSButton > Lib.log
$(BC)\bin\Tlib SButtonX +BPaint >> Lib.log
$(BC)\bin\Tlib SButtonX +TSBar >> Lib.log
$(BC)\bin\Tlib SButtonX +TSLines >> Lib.log
$(BC)\bin\Tlib SButtonX +TSRadio >> Lib.log
$(BC)\bin\Tlib SButtonX +TSTSay >> Lib.log
$(BC)\bin\Tlib SButtonX +TSGradie >> Lib.log
Del *.c
Del *.obj
Del *.log
Del *.bak
ukoenig wrote:Hello,
NCONVERT is free of charge
You can do it directly from your FWH app usig TPdf class.
Here you can download TPdf class with a working xHarbour sample program: http://www.box.net/shared/qfbeha7cb7
Regards.
Manuel Mercado
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 59 guests