Freeimage

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Freeimage

Post by Vanguarda »

Hi friends,

I need create a software for manage images, so, i read some things about freeimage.dll. And, of course, i´ve many doubts about that now.

Please, anybody know what functions have in freeimage.dll?

Per example: I´ve an image, and i want change the color of a little part of this image. i can make it with freeimage?

Please, sorry my bad english.

I thank any help.

My best regards,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
Rathinagiri
Posts: 5482
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Freeimage

Post by Rathinagiri »

This is the website of freeimage library.

http://freeimage.sourceforge.net/

Here you can have the documentation of the freeimage library. (checking the new bbcode pdf ;))

East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: Freeimage

Post by Vanguarda »

Hello my fried.

At first, many thanks for your attention and help.

I´ll read this DOC.

Thanks for the info.


My best regards,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: Freeimage

Post by Vanguarda »

Hi friends,

Rathi, after read this amazing documentation, i begin write a small code for tests.

But, i´m don´t have any experience with freeimage and i don´t be able to make it work. The function that i have try is the "Composite". I need make a image with overlap of another image with transparecy (PNG).

I did it with ImageMagick command-line. But i don´t wanna use another executable file from my project.

In attachment i post my small code. Please, say me where is my mistake.

I thanks, again, any help.

My best regards,
Attachments
Teste.rar
(1.5 MiB) Downloaded 319 times
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: Freeimage

Post by Vanguarda »

rathinagiri wrote: (checking the new bbcode pdf ;))
Very Useful. Thanks a lot.

With best regards,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
Steed
Posts: 454
Joined: Sat Dec 12, 2009 3:40 pm

Re: Freeimage

Post by Steed »

Hi, Vanguarda


Did you see the Grigory's code at C:\Minigui\SAMPLES\Advanced\FreeImage in Minigui Extended?
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: Freeimage

Post by Vanguarda »

Hi friend,

I see the sample in c:\Minigui\Samples\Advanced\FreeImage. But, in this samples not have the use of function "Composite".

Anyway, thanks for the info, and thanks for your attention.


My best regards,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: Freeimage

Post by Vanguarda »

My friends,

I try use HBFImage for create my little project. But i´ve some error when i compile it.

I´ve add "#include "FreeImage.ch"", "FI_Initialise()", and i´ve add Hbfimage on my project with HMG-IDE, but when i will compile it i´he this error bellow.

I add FreeImage.Dll for my folder of this project.
I register the FreeImage.Dll with "RegSrv32 /c /s FreeImage.Dll"

AnyWay i don´t be able to it work with me. :oops:

Somebody help?!

TIA.

PS: Sorry my bad english.
Attachments
Teste2.rar
(1.51 MiB) Downloaded 278 times
FreeImage.jpg
FreeImage.jpg (73.36 KiB) Viewed 4485 times
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
Alex Gustow
Posts: 290
Joined: Thu Dec 04, 2008 1:05 pm
Location: Yekaterinburg, Russia
Contact:

Re: Freeimage

Post by Alex Gustow »

Rathi, thanks for "finger-pointing" to FreeImage site - it's interesting!
User avatar
gfilatov
Posts: 1116
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Freeimage

Post by gfilatov »

Vanguarda wrote:My friends,

I try use HBFImage for create my little project. But i´ve some error when i compile it.

I´ve add "#include "FreeImage.ch"", "FI_Initialise()", and i´ve add Hbfimage on my project with HMG-IDE, but when i will compile it i´he this error bellow.

I add FreeImage.Dll for my folder of this project.
I register the FreeImage.Dll with "RegSrv32 /c /s FreeImage.Dll"

AnyWay i don´t be able to it work with me. :oops:

Somebody help?!
Hello Vanguarda,

Please take a look for working sample of the usage FreeImage.dll at

viewtopic.php?f=5&t=984&start=10

I hope that helps :idea:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
Post Reply