Class TOpenAI Method SendImage( cImageFileName ) // Please notice BMPs are not allowed
openai1.prg
#include "FiveWin.ch"
#include "c:\harbour\contrib\hbcurl\hbcurl.ch"
//----------------------------------------------------------------------------//
function Main()
local oChatgpt := TOpenAI ...
Search found 19 matches: bmps
Searched query: bmps
- Fri Jan 03, 2025 10:21 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: OpenAI vision API from FWH
- Replies: 10
- Views: 677
- Fri Jan 03, 2025 9:54 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using Tget and Cuebanner
- Replies: 24
- Views: 822
Re: Using Tget and Cuebanner
Indeed... on Xbrowse. I'm not in need of a get with 2 bmps, it was just what I was thinking to see ))))
- Tue Oct 22, 2024 9:32 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: problem with buttonbar
- Replies: 4
- Views: 463
problem with buttonbar
... ACTION NIL
DEFINE BUTTON aBtnBar[2] OF oBar PROMPT "Guida" RESOURCE "AIUTO" LEFT ACTION NIL GROUP
DEFINE BUTTON aBtnBar[3] OF oBar PROMPT "Chiudi" RESOURCE "CHIUDI" LEFT ACTION NIL
It probably does this when we use bmps, but when we use pngs it works ok
https://i.postimg.cc/tRcn3MLC/tt.gif
DEFINE BUTTON aBtnBar[2] OF oBar PROMPT "Guida" RESOURCE "AIUTO" LEFT ACTION NIL GROUP
DEFINE BUTTON aBtnBar[3] OF oBar PROMPT "Chiudi" RESOURCE "CHIUDI" LEFT ACTION NIL
It probably does this when we use bmps, but when we use pngs it works ok
https://i.postimg.cc/tRcn3MLC/tt.gif
- Fri Sep 27, 2024 5:02 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: imagelist on tree
- Replies: 15
- Views: 2795
Re: imagelist on tree
hi Silvio,
Why I not see the bmps ?
on resource
open BITMAP "open.bmp"
close BITMAP "arrow.bmp"
try
open 10 "open.BMP"
close 10 "arrow.BMP"
no "10" is for PNG file
WRONG :!:
10 mean RC_DATA and i use it for Bitmap which else are not shown.
try it
Why I not see the bmps ?
on resource
open BITMAP "open.bmp"
close BITMAP "arrow.bmp"
try
open 10 "open.BMP"
close 10 "arrow.BMP"
no "10" is for PNG file
WRONG :!:
10 mean RC_DATA and i use it for Bitmap which else are not shown.
try it
- Fri Sep 27, 2024 2:38 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: imagelist on tree
- Replies: 15
- Views: 2795
Re: imagelist on tree
no "10" is for PNG fileJimmy wrote:trySilvio.Falconi wrote:Why I not see the bmps ?
on resourceCode: Select all | Expand
open BITMAP "open.bmp" close BITMAP "arrow.bmp"
Code: Select all | Expand
open 10 "open.BMP" close 10 "arrow.BMP"
- Fri Sep 27, 2024 1:34 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: imagelist on tree
- Replies: 15
- Views: 2795
Re: imagelist on tree
trySilvio.Falconi wrote:Why I not see the bmps ?
on resourceCode: Select all | Expand
open BITMAP "open.bmp" close BITMAP "arrow.bmp"
Code: Select all | Expand
open 10 "open.BMP"
close 10 "arrow.BMP"
- Fri Sep 27, 2024 10:37 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: imagelist on tree
- Replies: 15
- Views: 2795
imagelist on tree
... oTree OF oDlg SIZE 80, 80 COLOR 0, GetSysColor( 15 )
oTree:SetImageList( oImageList )
https://i.postimg.cc/T32NLcbh/tt.png
Why I not see the bmps ?
on resource
open BITMAP "open.bmp"
close BITMAP "arrow.bmp"
#ifndef __64__
1 24 ".\winxp\WindowsXP.Manifest"
#endif
#ifdef __64__
1 24 ...
oTree:SetImageList( oImageList )
https://i.postimg.cc/T32NLcbh/tt.png
Why I not see the bmps ?
on resource
open BITMAP "open.bmp"
close BITMAP "arrow.bmp"
#ifndef __64__
1 24 ".\winxp\WindowsXP.Manifest"
#endif
#ifdef __64__
1 24 ...
- Thu Sep 19, 2024 4:10 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Error al abrir archivos .rc con Resedit en entorno MSVC 64
- Replies: 17
- Views: 1838
Re: Error al compilar ejemplos con .rc con MSVC 64
Hi Enrico.
If I open any .rc from the fwh64\samples directory, for example adorick.rc,
I get this error. The same thing happens with my .rc files.
only opens correctly files whithout dialogs (with bmps, icons etc.)
thank for your interest Enrico.
Jose.
If I open any .rc from the fwh64\samples directory, for example adorick.rc,
I get this error. The same thing happens with my .rc files.
only opens correctly files whithout dialogs (with bmps, icons etc.)
thank for your interest Enrico.
Jose.
- Fri Feb 02, 2024 3:37 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Donde comprar ICONOS y BMPs?
- Replies: 2
- Views: 424
Re: Donde comprar ICONOS y BMPs?
Víctor:
Muchas gracias, le tiraré un ojo.
Saludos
Muchas gracias, le tiraré un ojo.
Saludos
- Fri Feb 02, 2024 5:10 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Donde comprar ICONOS y BMPs?
- Replies: 2
- Views: 424
Re: Donde comprar ICONOS y BMPs?
Yo utilizo icons8.com
Enviado desde mi motorola edge 20 mediante Tapatalk
Enviado desde mi motorola edge 20 mediante Tapatalk
- Fri Feb 02, 2024 4:13 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Donde comprar ICONOS y BMPs?
- Replies: 2
- Views: 424
Donde comprar ICONOS y BMPs?
Foreros:
Donde puedo adquirir un catálogo muy completo de iconos y bmps?
Recomiendan algún link?
Saludos
Donde puedo adquirir un catálogo muy completo de iconos y bmps?
Recomiendan algún link?
Saludos
- Tue Jan 02, 2024 5:09 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: BMP en xBrowse?
- Replies: 7
- Views: 1247
Re: BMP en xBrowse?
José:
Con el permiso de Cesar y Manuel, esa te la respondo yo
Obviamente ya debes tener los BMPs en tu archivo de recursos y luego basta con
quitar el path y hasta la extensión
oBrw:aCols[2]:bStrData := {|| ""}
oBrw:aCols[2]:AddBitMap( 'PEND' )
oBrw:aCols[2]:AddBitMap( 'VISADA' )
oBrw:aCols[2 ...
Con el permiso de Cesar y Manuel, esa te la respondo yo
Obviamente ya debes tener los BMPs en tu archivo de recursos y luego basta con
quitar el path y hasta la extensión
oBrw:aCols[2]:bStrData := {|| ""}
oBrw:aCols[2]:AddBitMap( 'PEND' )
oBrw:aCols[2]:AddBitMap( 'VISADA' )
oBrw:aCols[2 ...
- Tue Jan 02, 2024 1:45 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: BMP en xBrowse?
- Replies: 7
- Views: 1247
BMP en xBrowse?
Foreros:
Antes que nada, quiero desearles un año 2024 lleno de salud y trabajo, el resto viene por añadidura.
Les cuento, tengo un xBrowse y en una columna llamada estatus quiero mostrar un BMP dependiendo
del estatus del registro, pueden ser hasta 5 diferentes BMPs, algún ejemplo?
Saludos, ánimo
Antes que nada, quiero desearles un año 2024 lleno de salud y trabajo, el resto viene por añadidura.
Les cuento, tengo un xBrowse y en una columna llamada estatus quiero mostrar un BMP dependiendo
del estatus del registro, pueden ser hasta 5 diferentes BMPs, algún ejemplo?
Saludos, ánimo
- Sat May 20, 2023 7:12 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: crear DLL
- Replies: 12
- Views: 1164
Re: crear DLL
Buenos dias AntonioAntonio Linares wrote:> De momento solo quiero añadir unas imagenes y crear la DLL
Que extensión (jpg, jpeg, bmp, gif, etc) tienen las imágenes ?
Ahora son .BMPs pero puedo pasarlo a JPG
Gracias
- Thu Mar 23, 2023 5:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: more than 1 bmp on a xbrowse column
- Replies: 6
- Views: 629
Re: more than 1 bmp on a xbrowse column
... he he.
"In a haste" but excellent example and clever use of the right side button. It takes imagination to see in how many ways painting various bmps on a cell can be not just beautiful but also very useful.
I have seen it on grids where tags (like stack overflow tags) are shown.
Yes, it would ...
"In a haste" but excellent example and clever use of the right side button. It takes imagination to see in how many ways painting various bmps on a cell can be not just beautiful but also very useful.
I have seen it on grids where tags (like stack overflow tags) are shown.
Yes, it would ...