Archivos png
Moderator: Rathinagiri
-
- Posts: 270
- Joined: Wed Aug 13, 2008 2:35 pm
- Location: Córdoba - Argentina
Archivos png
Hola :
Utilizando la posibilidad de imprimir en pdf con hmg_bpdf veo que utiliza imagenes en formato pdf . Ahora bien pruebo utilizar este formato en controles Button , Toolbar , Image , etc y no muestra la imagen correspondiente .
Que me está faltando agregar para poder usar imagenes png en los controles y en el archivo de recursos rc .
Utilizo Hmg.3.045 con su respectivo ide .
Saludos cordiales
Mario Mansilla
Hello:
Using the ability to print to PDF using hmg_bpdf see images in PDF format. Now I try to use this format Button, Toolbar, Image, etc and not shows the corresponding image.
What's missing me add png images to use in controls and rc resource file.
Hmg.3.045 use with its own ide
Utilizando la posibilidad de imprimir en pdf con hmg_bpdf veo que utiliza imagenes en formato pdf . Ahora bien pruebo utilizar este formato en controles Button , Toolbar , Image , etc y no muestra la imagen correspondiente .
Que me está faltando agregar para poder usar imagenes png en los controles y en el archivo de recursos rc .
Utilizo Hmg.3.045 con su respectivo ide .
Saludos cordiales
Mario Mansilla
Hello:
Using the ability to print to PDF using hmg_bpdf see images in PDF format. Now I try to use this format Button, Toolbar, Image, etc and not shows the corresponding image.
What's missing me add png images to use in controls and rc resource file.
Hmg.3.045 use with its own ide
Re: Archivos png
Hi Mario Mansilla !
.png is only available via hmg_bpdf ( .pdf files )
regards
.png is only available via hmg_bpdf ( .pdf files )
regards
M., Ronaldo
By: IMATECH
Imation Tecnologia
By: IMATECH
Imation Tecnologia
-
- Posts: 270
- Joined: Wed Aug 13, 2008 2:35 pm
- Location: Córdoba - Argentina
Re: Archivos png
Hola Ronaldo :
muchas gracias por tu aclaración .
Esta limitación es debido al desarrollo actual de Harbour o de Minigui
Saludos .
Mario Mansilla
Hi Ronaldo:
thank you very much for your clarification.
This limitation is due to the current development of Harbour or Minigui .
Greetings.
Mario Mansilla
muchas gracias por tu aclaración .
Esta limitación es debido al desarrollo actual de Harbour o de Minigui
Saludos .
Mario Mansilla
Hi Ronaldo:
thank you very much for your clarification.
This limitation is due to the current development of Harbour or Minigui .
Greetings.
Mario Mansilla
- srvet_claudio
- Posts: 2220
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: Archivos png
Hola Mario.
HMG no soporta imagenes PNG, solo trabaja con los formatos BMP, GIF y JPG.
Saludos,
Claudio.
HMG no soporta imagenes PNG, solo trabaja con los formatos BMP, GIF y JPG.
Saludos,
Claudio.
- Rathinagiri
- Posts: 5480
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Archivos png
Dear Claudio,
Using libpng can we loadpicture?
Using libpng can we loadpicture?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
-
- Posts: 90
- Joined: Tue Oct 09, 2012 2:28 pm
Re: Archivos png
Sorry to disturb, but I just found
something about PNG-Files.
http://libharu.org/wiki/Documentation/A ... ile2.28.29
HPDF_Image HPDF_LoadPngImageFromFile2 (HPDF_Doc pdf,
const char *filename);
Happy HMGing
klauskugel
something about PNG-Files.
http://libharu.org/wiki/Documentation/A ... ile2.28.29
HPDF_Image HPDF_LoadPngImageFromFile2 (HPDF_Doc pdf,
const char *filename);
Happy HMGing

klauskugel
- srvet_claudio
- Posts: 2220
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: Archivos png
Hi Brother.rathinagiri wrote:Using libpng can we loadpicture?
I'm sorry, I've never used libpng.
Later I will trying to make a function for load PNG images with gdiplus.dll for HMG.
I am currently preparing version 1.0.1 of Bos Taurus for some make effects in the imagens (e.g. emboss, blur, sharpen, etc.).
Best regards,
Claudio.
Re: Archivos png
Hi Claudio !
Can you upgrade your lib: "Bos Taurus" to be compiled with -w3 -es2
and if possible create a separeted file for .c code ( sample atached )
Best regards...
Can you upgrade your lib: "Bos Taurus" to be compiled with -w3 -es2
and if possible create a separeted file for .c code ( sample atached )
Best regards...
- Attachments
-
- Sources_HFCL.rar
- hfcl ( include boss tarurus )
project updated to be compiled with -w1 -es2
some bugs fixed ( please revise ) - (62.11 KiB) Downloaded 312 times
M., Ronaldo
By: IMATECH
Imation Tecnologia
By: IMATECH
Imation Tecnologia
-
- Posts: 245
- Joined: Sat Aug 02, 2008 5:03 pm
Re: Archivos png
Hisrvet_claudio wrote:Hi Brother.rathinagiri wrote:Using libpng can we loadpicture?
I'm sorry, I've never used libpng.
Later I will trying to make a function for load PNG images with gdiplus.dll for HMG.
I am currently preparing version 1.0.1 of Bos Taurus for some make effects in the imagens (e.g. emboss, blur, sharpen, etc.).
Best regards,
Claudio.
the harbour contrib, freeimage lib has the libpng included, maybe can help
Regards/Saludos, Carlos (bcd12a)
- srvet_claudio
- Posts: 2220
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: Archivos png
Hi Ronaldo.IMATECH wrote:Can you upgrade your lib: "Bos Taurus" to be compiled with -w3 -es2
and if possible create a separeted file for .c code ( sample atached )
The library consists of three separate source files as indicated by the PDF manual, but perhaps for reasons of clarity with the other files in the HFCL,
Rathinagiri decided to gather all of Bos Taurus files into one file PRG.
Thank you for inform me of the functions that do not return a Nil value explicit, Grigory Filatov already had notified me.
RGB () is a macro that is already defined in the file i_graph.ch
Be ware of the definitions that you added:
#define BLACK RGB( 0, 0, 0 )
#define WHITE RGB( 255, 255, 255 )
This creates color COLORREF and Bos Taurus works with high-level functions with RGB color structures with arrays for compatibility with HMG, eg.
#define BLACK {0, 0, 0}
Thank you very much for review my project.
Best regards,
Claudio.