How to use GIF image using HMG, Example please

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
bpd2000
Posts: 1144
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 243 times
Been thanked: 139 times

How to use GIF image using HMG, Example please

Post by bpd2000 »

How to use GIF image using HMG, Example please
BPD
Convert Dream into Reality through HMG

User avatar
danielmaximiliano
Posts: 2294
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 352 times
Been thanked: 65 times
Contact:

Post by danielmaximiliano »

Minigui sample : C:\MiniGUI\SAMPLES\Advanced\AnimatedGif\demo.prg
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO

User avatar
bpd2000
Posts: 1144
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 243 times
Been thanked: 139 times

Post by bpd2000 »

danielmaximiliano wrote:Minigui sample : C:\MiniGUI\SAMPLES\Advanced\AnimatedGif\demo.prg
Dear
It is possible in HMG it self
BPD
Convert Dream into Reality through HMG

User avatar
danielmaximiliano
Posts: 2294
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 352 times
Been thanked: 65 times
Contact:

Post by danielmaximiliano »

estoy modificando el ejemplo de minigui / I'm modifying the example minigui
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO

User avatar
esgici
Posts: 4529
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 406 times
Been thanked: 115 times
Contact:

Post by esgici »

esgici wrote:
bpd2000 wrote:How to use GIF image using HMG, Example please
<C:\hmg>\HFCL\Samples\BosTaurus\demo13
Added later ( 14.6.2014 ) :

- "animated" prerequisite added later to this topic

- why this image is missing ? :
missing image
missing image
missingImage.PNG (12.58 KiB) Viewed 3295 times
Last edited by esgici on Sat Jun 14, 2014 12:30 pm, edited 1 time in total.
Viva INTERNATIONAL HMG :D

User avatar
danielmaximiliano
Posts: 2294
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 352 times
Been thanked: 65 times
Contact:

Post by danielmaximiliano »

I had forgotten that example.
C:\hmg.3.1.4\HFCL\Samples\BosTaurus\demo13
the demo13 adds using GIF file but no movement.
13 adds.png
13 adds.png (179.94 KiB) Viewed 3923 times

.
here is the modification of HMG example Ext
AnimatedGif.rar
(103.06 KiB) Downloaded 949 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO

User avatar
srvet_claudio
Posts: 2057
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 41 times
Been thanked: 161 times
Contact:

Post by srvet_claudio »

Animated GIF is a file with multiple subimages (in graphic animation is called sprites), that you have to extracted and then display them sequentially, e.g using SET TIMER.

Graphic animation examples in HMG can be seen at:
viewtopic.php?p=11806#p11806
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
andyglezl
Posts: 1249
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 38 times
Been thanked: 107 times
Contact:

Post by andyglezl »

Hola Daniel

Debe tener alguna caracteristica especial en el archivo Gif ?

Tengo algunos Gif's y no me los reproduce bien...
-----------------------------------------------------------
Hi Daniel

Must have some special feature Gif file?

I have some Gif's and I do not play them well ...
Attachments
Gif's.rar
(55.71 KiB) Downloaded 179 times
Andrés González López
Desde Guadalajara, Jalisco. México.

User avatar
danielmaximiliano
Posts: 2294
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 352 times
Been thanked: 65 times
Contact:

Post by danielmaximiliano »

andyglezl wrote:Hola Daniel

Debe tener alguna caracteristica especial en el archivo Gif ?

Tengo algunos Gif's y no me los reproduce bien...
-----------------------------------------------------------
Hi Daniel

Must have some special feature Gif file?

I have some Gif's and I do not play them well ...
Hola Andy, utilize la pagina http://picasion.com/es/get-resized/ para cambiar el tamaño del archivo ani-free.gif
el tamaño original 50 pixel hasta 350 pixel y se reproduce bien, habria que ver la Info del archivo original con Irfanview y ver la diferencia con tus archivos gif.

http://es.wikipedia.org/wiki/Graphics_I ... nge_Format
AnimatedGif_2.rar
(2.57 MiB) Downloaded 213 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO

User avatar
bpd2000
Posts: 1144
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 243 times
Been thanked: 139 times

Post by bpd2000 »

Thanking you all

Image
Attachments
AnimatedGif.rar
(2.54 MiB) Downloaded 220 times
BPD
Convert Dream into Reality through HMG

Post Reply