Source language: Translate to:

hpwSimpleGraph

Questions about NeoBook PlugIns

Moderator: Neosoft Support

Re: hpwSimpleGraph

Postby dec » Mon Nov 11, 2013 3:33 pm

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
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain

Re: hpwSimpleGraph

Postby HPW » Mon Nov 11, 2013 11:27 pm

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
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: hpwSimpleGraph

Postby dec » Tue Nov 12, 2013 1:16 am

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
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain

Re: hpwSimpleGraph

Postby HPW » Tue Nov 12, 2013 4:42 am

Hello,

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

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

Re: hpwSimpleGraph

Postby HPW » Tue Nov 12, 2013 5:42 am

Hello,

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

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

Re: hpwSimpleGraph

Postby dec » Tue Nov 12, 2013 6:08 am

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
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain

Re: hpwSimpleGraph

Postby HPW » Tue Nov 12, 2013 6:17 am

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
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: hpwSimpleGraph

Postby dec » Tue Nov 12, 2013 6:21 am

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

Re: hpwSimpleGraph

Postby dec » Tue Nov 12, 2013 6:30 am

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

Re: hpwSimpleGraph

Postby dec » Tue Nov 12, 2013 6:43 am

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
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain

Re: hpwSimpleGraph

Postby HPW » Tue Nov 12, 2013 10:41 am

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
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: hpwSimpleGraph

Postby dec » Tue Nov 12, 2013 10:50 am

Hello,

The matter is you got a solution. ;)
.
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

Re: hpwSimpleGraph

Postby Luiz Alfredo » Wed Nov 13, 2013 9:05 am

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.
Luiz Alfredo
 
Posts: 195
Joined: Thu Apr 19, 2007 6:58 am
Location: Brazil

Re: hpwSimpleGraph

Postby CN_Iceman » Wed Nov 13, 2013 9:55 am

+1

And some other too...

Greetings.
Greetings/Saludos, Jose.
www.icemansoft.es
User avatar
CN_Iceman
 
Posts: 297
Joined: Tue Mar 01, 2011 11:04 am
Location: España

Re: hpwSimpleGraph

Postby Luiz Alfredo » Wed Nov 13, 2013 2:12 pm

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

Thanks to them all.
L.A.G.M.
Luiz Alfredo
 
Posts: 195
Joined: Thu Apr 19, 2007 6:58 am
Location: Brazil

PreviousNext

Return to PlugIn Discussions

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron