hpwSimpleGraph

Questions about NeoBook PlugIns

Moderator: Neosoft Support

User avatar
dec
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain
Contact:

Re: hpwSimpleGraph

Post by dec »

Hello,

Just to say something... Hans, remember the requisite to add the appropiate unit "PngImage" (if I remember well this is the name in Delphi 2007) before the "Graphics" unit. This add support into "TPicture" for PNG images. So adding the "PngImage" unit in the unit which cause the error may solve the problem.

At the least you can try it. ;)
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: hpwSimpleGraph

Post by HPW »

Hello Dec,

The png unit is linked. Otherwise it wasn't be possible to load the PNG into Simplegraph and store the SGP.
Only the reloading seems the problem.

Regards
Hans-Peter
User avatar
dec
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain
Contact:

Re: hpwSimpleGraph

Post by dec »

Hello,

I know the unit is linked Hans but I am thinking in adding it in the unit which cause the problem. Ok, may this do not solve the problem at all, but is one of the things I try in your place... Maybe you can "choose" PNG files due to the added "TPicture" support for them, but, maybe the unit which raise the error also need this unit (before "Graphics") to work properly.
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: hpwSimpleGraph

Post by HPW »

Hello,

Ok, now I understand what you mean. I will check and try it out.

Regards
Hans-Peter
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: hpwSimpleGraph

Post by HPW »

Hello,

I checked it, but no luck. Still throwing the error.

Regards
Hans-Peter
User avatar
dec
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain
Contact:

Re: hpwSimpleGraph

Post by dec »

Hello,

Sorry Hans. I download the Simple Graph Component, and curiously I can use PNG images in the Editor demo without problems (?) just adding the "PngImage" unit into the "NodeProp" unit. I can add a rectangle node, for example, and then put a PNG image as their background. Then I save the project and then can load it again without errors. Of course probably this do not help you at all...
HPW wrote:Hello,

I checked it, but no luck. Still throwing the error.

Regards
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: hpwSimpleGraph

Post by HPW »

Hello Dec,

Thanks for the info, I tried it with the demo-editor before and it does also not work for me.
So interesting to know.

I am on Delphi 7 and I think you are on a newer version, right?

Regards
Hans-Peter
User avatar
dec
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain
Contact:

Re: hpwSimpleGraph

Post by dec »

Hello Hans,

Yes; I use Delphi 2007. I know the PNG support in Delphi has suffered changes but don't know what exactly happend.

If you think I can help in something...
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
dec
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain
Contact:

Re: hpwSimpleGraph

Post by dec »

Hello,

My PngImage unit (included in Delphi 2007) has been made by Gustavo Huffenbacher Daud, in particular the 1.4361 version. Probably we can share this unit (Borland license do not apply here I think) or maybe you can try to search this version or a later version of this unit. I found this downloable Zip which apparently contain a latest version of this unit and some documentation. Maybe you can try with this unit with the Simple Graph Component demo.
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
dec
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain
Contact:

Re: hpwSimpleGraph

Post by dec »

Hello,

More news Hans. The Zip I link before contain an enhanced version of the Gustavo Huffenbacher Daud PngImage unit I use in Delphi 2007. However, the license is not very clear to me. On the other hand I make a mistake before: the PngImage unit I am using in Delphi 2007 is not part of this Delphi version, but is part of the JEDI Visual Component Library. In fact we are talking about some units and other resources aside of the PngImage unit. I think you can download these components and install it or just use the appropiate units. If you like I can send you the PNG related units into an email.
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Re: hpwSimpleGraph

Post by HPW »

Just released hpwSimpleGraph 1.33:

http://www.hpwsoft.de/anmeldung/html1/n ... ook19.html

Recompiled with updated Png-Library with fix for reloading nodes with PNG-Background.

DEC: My PNG was yet the last available 1.564, so the age of the lib was not the problem.
In 2006 I added a patch to the PngImage-Lib to add support for CAR-Loading into hpwImage. (CAR uses internaly PNG data)
This was never a problem until now in SimpleGraph. So I remove the patch from the standard procedure and add a special one.

Regards
Hans-Peter
User avatar
dec
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain
Contact:

Re: hpwSimpleGraph

Post by dec »

Hello,

The matter is you got a solution. ;)
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
Luiz Alfredo
Posts: 198
Joined: Thu Apr 19, 2007 6:58 am
Location: Brazil

Re: hpwSimpleGraph

Post by Luiz Alfredo »

Thank you Hans for updating the plugin. It worked as expected.

I also thank you David for your interest in helping.

Dave, HPW and DEC make na unbeatable trio of Quality and Good Support.
L.A.G.M.
User avatar
CN_Iceman
Posts: 300
Joined: Tue Mar 01, 2011 11:04 am
Location: España
Contact:

Re: hpwSimpleGraph

Post by CN_Iceman »

+1

And some other too...

Greetings.
Greetings/Saludos, Jose.
www.icemansoft.es
Luiz Alfredo
Posts: 198
Joined: Thu Apr 19, 2007 6:58 am
Location: Brazil

Re: hpwSimpleGraph

Post by Luiz Alfredo »

Excuse me. We have several others. Only quoted the closest.

Thanks to them all.
L.A.G.M.
Locked