How to use GIF image using HMG, Example please

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
bpd2000
Posts: 1062
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 193 times
Been thanked: 89 times

How to use GIF image using HMG, Example please

Post by bpd2000 » Tue Jul 02, 2013 1:47 pm

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

User avatar
danielmaximiliano
Posts: 2105
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 128 times
Been thanked: 16 times
Contact:

Post by danielmaximiliano » Tue Jul 02, 2013 2:14 pm

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

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

User avatar
bpd2000
Posts: 1062
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 193 times
Been thanked: 89 times

Post by bpd2000 » Tue Jul 02, 2013 2:48 pm

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: 2105
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 128 times
Been thanked: 16 times
Contact:

Post by danielmaximiliano » Tue Jul 02, 2013 4:58 pm

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

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

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

Post by esgici » Tue Jul 02, 2013 5:17 pm

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 ? :
missingImage.PNG
missing image
missingImage.PNG (12.58 KiB) Viewed 2709 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: 2105
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 128 times
Been thanked: 16 times
Contact:

Post by danielmaximiliano » Tue Jul 02, 2013 5:31 pm

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 3337 times

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

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

User avatar
srvet_claudio
Posts: 2044
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 35 times
Been thanked: 146 times
Contact:

Post by srvet_claudio » Tue Jul 02, 2013 8:00 pm

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: 1140
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 35 times
Been thanked: 68 times
Contact:

Post by andyglezl » Tue Jul 02, 2013 11:11 pm

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 157 times
Andrés González López
Desde Guadalajara, Jalisco. México.

User avatar
danielmaximiliano
Posts: 2105
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 128 times
Been thanked: 16 times
Contact:

Post by danielmaximiliano » Wed Jul 03, 2013 12:30 am

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 192 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`.HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

User avatar
bpd2000
Posts: 1062
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 193 times
Been thanked: 89 times

Post by bpd2000 » Wed Jul 03, 2013 3:59 am

Thanking you all

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

Post Reply