check size and resize image

HMG en Español

Moderator: Rathinagiri

Post Reply
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

check size and resize image

Post by jairpinho »

hello everyone!
I need to know the size of an image and then resize the image to a lower tamnho anyone know how to do this without using any external dll only with hmg
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: check size and resize image

Post by danielmaximiliano »

Ola Jair:

Voce tem a ver neste endereço:
http://www.hmgforum.com/viewtopic.php? ... age#p19584
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: check size and resize image

Post by jairpinho »

Thanks daniel missing only resize the image
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: check size and resize image

Post by danielmaximiliano »

jairpinho wrote:Thanks daniel missing only resize the image
rescale a imagem, utilizar FreeImage exemplos estão em hb31\contrib\hbfimage\test

hb31= Harbour Nightly

Manual Freeimage : http://sourceforge.net/projects/freeima ... f/download
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: check size and resize image

Post by jairpinho »

HMG can not compile with an example of this native lib and HMG or have to add the project libs =



danielmaximiliano wrote:
jairpinho wrote:Thanks daniel missing only resize the image
rescale a imagem, utilizar FreeImage exemplos estão em hb31\contrib\hbfimage\test

hb31= Harbour Nightly

Manual Freeimage : http://sourceforge.net/projects/freeima ... f/download
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: check size and resize image

Post by danielmaximiliano »

jairpinho wrote:HMG can not compile with an example of this native lib and HMG or have to add the project libs =



danielmaximiliano wrote:
jairpinho wrote:Thanks daniel missing only resize the image
rescale a imagem, utilizar FreeImage exemplos estão em hb31\contrib\hbfimage\test

hb31= Harbour Nightly

Manual Freeimage : http://sourceforge.net/projects/freeima ... f/download
Ola Jair:
Neste exemplo do Sr. Grigory Filatov
http://hmgforum.com/download/file.php?id=510
uso IDE HMG.3.0.40 compila perfeito, usá-lo para alterar o seu projecto
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: check size and resize image

Post by jairpinho »

Daniel did not want to use External .dll, there is a way to make HMG.
Also need to know the file size.
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
salamandra
Posts: 311
Joined: Thu Jul 31, 2008 8:33 pm
DBs Used: DBF, MySQL, SQL
Location: Brazil

Re: check size and resize image

Post by salamandra »

Hi Jair ;) ,
You can get the image size using Grigory´s code,
viewtopic.php?f=5&t=2267&p=19584&hilit=image#p19584
but AFAIK you can´t resize it using ONLY HMG.
Alternatively you can Release & Define this image control again.


[]´s Salamandra
There is one time in which is crucial awakening. That time is now. ( Buddha )
Post Reply