Search found 36 matches
- Tue Mar 15, 2016 6:54 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: TFTP Help required
- Replies: 2
- Views: 699
Re: TFTP Help required
Sanil, here is example from this forum. I adapted some lines in my application: //--------------------------------------------------------------------------------------------------------------------- // // FTPsend( "list.txt", "Text message ..." ) // //----------------------...
- Mon Mar 14, 2016 12:01 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: TFTP Help required
- Replies: 2
- Views: 699
TFTP Help required
This is my first experience in FTP, I am using tFtp to upload and download a small text file. But it is not working. Please any one can put a working code for upload and download a small text file.
Regards
Sanil
Regards
Sanil
- Mon Mar 07, 2016 7:33 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Is there any TXImage method for resizing JPG images
- Replies: 4
- Views: 735
Re: Is there any TXImage method for resizing JPG images
Following functions/methods automatically resize retaining the aspect ratio. ResizeBitmap( hBitmap, nWidth, nHeight ) --> hNewResizedBitmap You provide either width or height and leave the other as nil. Result is a resized bitmap retaining the aspect ratio. In the above example you can use oImg:Res...
- Mon Mar 07, 2016 4:58 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Is there any TXImage method for resizing JPG images
- Replies: 4
- Views: 735
Re: Is there any TXImage method for resizing JPG images
If you want to resize a jpeg image and save it, you may try GdiBmp class instead. Here is a sample you may try: oImage := GdiBmp():New( "file1.jpg" ) oImage:Resize( nWidth, nHeight ) oImage:Save( "newfile.jpg", nQuality ) oImage:End() Please also note that you nev...
- Sat Mar 05, 2016 6:57 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Is there any TXImage method for resizing JPG images
- Replies: 4
- Views: 735
Is there any TXImage method for resizing JPG images
Is there any TXImage method for resizing JPG image according to the pixel aspect ratio without losing image quality. I had an image with width 2821 pixel and height 2620 pixel and I need to resize it into 640*400 pixel
Regards
Sanil
Regards
Sanil
- Mon Jun 04, 2012 5:58 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MySQL Blob Column Jpg Write,read and display
- Replies: 8
- Views: 2400
Re: MySQL Blob Column Jpg Write,read and display
Dear Rick,
Thanks for the support. But the result is same.It is working fine with xHarbour. Unfortunately not working with Harbour.
TIA
Thanks for the support. But the result is same.It is working fine with xHarbour. Unfortunately not working with Harbour.
TIA
- Wed May 30, 2012 6:20 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MySQL Blob Column Jpg Write,read and display
- Replies: 8
- Views: 2400
Re: MySQL Blob Column Jpg Write,read and display
Dear Rick, Thanks for the support. I tried your code. It is working fine with xHarbour. Unfortunately not working with Harbour. Harbour returns the valtype of Blob column as array. I wonder why nobody has not noticed this behavior in Harbour. I had to make a slight change in your code to make the pi...
- Tue May 29, 2012 6:28 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: MySQL Blob Column Jpg Write,read and display
- Replies: 2
- Views: 720
Re: MySQL Blob Column Jpg Write,read and display
// Blob Column. Data stored after cMimeEnc() cStrData = oRecSet:Fields("Photo"):Value MsgInfo( ValType(cStrData) ) In Harbour the Valtype is returned as "A", whereas in xHarbour the valtype is "C" The contents of the array (Harbour) are just numbers, where as in xH...
- Tue May 29, 2012 6:26 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MySQL Blob Column Jpg Write,read and display
- Replies: 8
- Views: 2400
Re: MySQL Blob Column Jpg Write,read and display
// Blob Column. Data stored after cMimeEnc() cStrData = oRecSet:Fields("Photo"):Value MsgInfo( ValType(cStrData) ) In Harbour the Valtype is returned as "A", whereas in xHarbour the valtype is "C" The contents of the array (Harbour) are just numbers, where as in xH...
- Mon May 28, 2012 9:14 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: MySQL Blob Column Jpg Write,read and display
- Replies: 2
- Views: 720
Re: MySQL Blob Column Jpg Write,read and display
The problem occurs only when used with Harbour. With xHarbour it is working fine. To write jpg file data to a Blob column in MySQL Table, I use the following code. This code is working fine cImageData:=MemoRead("D:\MyImage.Jpg") cImageData:=cMimeEnc(cImageData) // Update MySQL Blob column ...
- Mon May 28, 2012 9:13 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MySQL Blob Column Jpg Write,read and display
- Replies: 8
- Views: 2400
Re: MySQL Blob Column Jpg Write,read and display
The problem occurs only when used with Harbour. With xHarbour it is working fine. To write jpg file data to a Blob column in MySQL Table, I use the following code. This code is working fine cImageData:=MemoRead("D:\MyImage.Jpg") cImageData:=cMimeEnc(cImageData) // Update MySQL Blob column ...
- Sun May 27, 2012 8:29 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MySQL Blob Column Jpg Write,read and display
- Replies: 8
- Views: 2400
Re: MySQL Blob Column Jpg Write,read and display
I use ADO My connection string cConnectSring:="Driver={MySQL ODBC 5.1 Driver};Server=192.168.0.110;Port=3306;;Database=pghr;User=root;Password=MyPassword;Option=3;" oConnection:=CreateObject("ADODB.Connection") oConnection:ConnectionString:=cConnectSring CursorWait() TRY oC...
- Sun May 27, 2012 7:46 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: MySQL Blob Column Jpg Write,read and display
- Replies: 2
- Views: 720
MySQL Blob Column Jpg Write,read and display
Hi, Can somebody provide a sample code for writing and reading a jpg file to a blob field in MySQL using FWH Harbour For writing to Blob filed, I tried cImageData:=MemoRead("D:\Test.Jpg") // Read the Jpj file contents to a variable cImageData:=cMimeEnc(cImageData) Update the table's blob ...
- Sun May 27, 2012 7:45 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: MySQL Blob Column Jpg Write,read and display
- Replies: 8
- Views: 2400
MySQL Blob Column Jpg Write,read and display
Hi, Can somebody provide a sample code for writing and reading a jpg file to a blob field in MySQL using FWH Harbour For writing to Blob filed, I tried cImageData:=MemoRead("D:\Test.Jpg") // Read the Jpj file contents to a variable cImageData:=cMimeEnc(cImageData) Update the table's blob ...
- Wed Jan 07, 2009 9:00 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: TSButton
- Replies: 4
- Views: 816
Re: TSButton
Hello Manuel/Otto
Do TSButton support High Resolution BMP's like Alphachannel BMP's ?
Sanil
Do TSButton support High Resolution BMP's like Alphachannel BMP's ?
Sanil