Where did .SetPicture go?

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

lazerfisk
Posts: 17
Joined: Wed May 05, 2004 3:00 pm
Location: Karlstad, Sweden

Where did .SetPicture go?

Post by lazerfisk »

I am currently working on a project that uses GFLAX 2.0. The previous version i used (v1.93) had got a .SetPicture function that allowed me to import the contents of an IPictureDisp into GFLAX. Now, after upgrading to GFLAX 2.0 the SetPicture function isn't there any more.

The GetPicture function is still there to reverse the process and copy a GFLAX image to an IPictureDisp.

Please help me sort this out :)

A quick summary:

Code: Select all

Set Picture1.Picture = GFL.GetPicture  ' This one works
GFL.SetPicture = Picture1.Picture  ' This one doesn't.
User avatar
xnview
Author of XnView
Posts: 43163
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Where did .SetPicture go?

Post by xnview »

lazerfisk wrote:I am currently working on a project that uses GFLAX 2.0.
Which project, please? =;-)
The previous version i used (v1.93) had got a .SetPicture function that allowed me to import the contents of an IPictureDisp into GFLAX. Now, after upgrading to GFLAX 2.0 the SetPicture function isn't there any more.

The GetPicture function is still there to reverse the process and copy a GFLAX image to an IPictureDisp.
Ok, i'll try to add it again.

Pierre.
lazerfisk
Posts: 17
Joined: Wed May 05, 2004 3:00 pm
Location: Karlstad, Sweden

Re: Where did .SetPicture go?

Post by lazerfisk »

xnview wrote:
lazerfisk wrote:I am currently working on a project that uses GFLAX 2.0.
Which project, please? =;-)
It's a tiny tool to allow visual upload of pictures to a website using FTP with a limited set of editing capabilities. It retrieves the existing images in a folder using asyncread to a picturebox, and injects those into the GFLAX container, or at least it did in 1.93 :) Now it won't work. And using the iPictureDisp->Disc->GFLAX approach is not a good idea :)
xnview wrote:
The previous version i used (v1.93) had got a .SetPicture function that allowed me to import the contents of an IPictureDisp into GFLAX. Now, after upgrading to GFLAX 2.0 the SetPicture function isn't there any more.

The GetPicture function is still there to reverse the process and copy a GFLAX image to an IPictureDisp.
Ok, i'll try to add it again.
That would be excellent :) Just having GetPicture and not SetPicture is like having a door you can only walk out through and no entrance :)

I love GFLSDK/GFLAX. Keep it up! :)

Best regards,
Christopher
lazerfisk
Posts: 17
Joined: Wed May 05, 2004 3:00 pm
Location: Karlstad, Sweden

Post by lazerfisk »

I was just curious, when could i expect a new build of GFLAX? :) I can't really do much work on the project since GFL bails every time i try to load a picture... :)

Thanks in advance,
Christopher