Chris$
Chris

04/13/2007 :: 01:10

Anonyme

Hello,

A few questions about the GDPicture 3.x PRO functionality:

1.) Does it provide some kind of Undo functionality? Like if a user were to make a mistake, applying the wrong effect, would the user have to reload the file, or is there a way to undo it programmatically? If not, would you be able to add it to a future update?

2.) In the LoadURL feature, May I suggest:

a.) To add the ability to view the File Size of the remote picture.

b.) Remove 'nPercentLeft' and add the ability to view the total and current progress:

ie: oGdViewer_DataReceieved(ByVal nProgressTotal As Long, ByVal nProgressCurrent As Long, ByVal nRemoteSize As Long)

c.) The ability to either pause or cancel the remote picture transfer (if there isn't currently a method already.)

I would love to see the above functionality added to a future update, as it would help alot and I'm sure other users would benefit from them and would definitely encourage me to purchasing the software and other future projects you may offer down the road.

-----

Also, on the website, it states free updates, does this include all major updates, or updates within the same version (ie: 3.x only or would 4.x, 5.x, etc also be free in the future?)

Keep up the excellent work!


Thanks for your time,

- Chris
Loïc$2006306
Loïc

04/13/2007 » 15:51

Registered

Hi chris.

1) http://www.gdpicture.com/forum/forum.php?view=166

2) New Event DataReceived: http://www.gdpicture.com/references/gdpicturepro/content/gdViewer-DataReceived.html

New method DisplayFromURLStop: http://www.gdpicture.com/references/gdpicturepro/content/gdViewer-DisplayFromURLStop.html

Available into the last beta release: http://www.gdpicture.com/ressources/betas/

Changes history here: http://www.gdpicture.com/informations.php

3) The updates are free for all the project life including minor & major updates.


Best regards,

Loïc Carrère

Edited by @lcarrere  
Chris$
Chris

04/14/2007 :: 02:58

Anonyme

Hello Loïc,

Very well done! Although there seems to now be two similar events:

Object_DataReceived and another: Object_DataReceieved

Also, I had a similar question as http://www.gdpicture.com/forum/forum.php?view=338 -- wanting to know if there's currently a way to Update and Create/Write new Exif Tags? Instead of just a GET method? If not, would you be able to add this to a future update?

Thanks,

- Chris
toc$2007102
toc

04/14/2007 » 16:31

Registered

Hi Chris,
'Suggested to use a clone image for undo', but to be honnest Im working with saving the image mutiple times to rollback several steps after I found that simply adjusting the brightness of an image up then back down will actually white wash the image out.

GDI+ will allow writing back of tags, but I dont want to get calling GDI+ when using this control to do it for me wouldnt be much point, but as yet theres no method to write tags with gdpicture.

Loïc email me I have some coding suggestions that dont need to go on the public forum.

Chris$
Chris

04/15/2007 :: 03:23

Anonyme

Hi Toc,

Hopefully an actual Undo function can become built into the control in a future release, instead of saving to multiple controls.

Also, I know of a few methods to write Exif tags, well at least within VB6 which are not 100% stable, but would much rather see and use a method directly from the gdPicture control.

As someone else suggested in the past about Jpeg 2000, I also would like to see this supported. If enough people request it, maybe it'll be added -- never know.

Loïc has done more than an excellent job so far and of course he has alot more experience working with this than us. Hopefully it'll be easy for him to implement the above features. Keep up the great work!

- Chris
Loïc$2006306
Loïc

04/17/2007 :: 11:36

Registered

Hi both !

- The undo method needs only one line of code : .CloneImage() It is very easy to implement for the users.

- For the moment there is no exif tags write capability with the GdPicture SDKs but it is in my road map. It is hard to implement so i can't give a date of release.
- A JPEG 2000 R/W is in my road MAP too...

I do my best !

Best regards,

Loïc Carrère
toc$2007102
toc

04/17/2007 :: 12:27

Registered

Loïc,
Your doing well - keep it up, and we'll be here waiting and wipping you on

I'll try out the undo routine later, I see CreateClonedImage at what point is that called I tried a few things I thought it may create a new instance of oGDPicture on the fly.. no ?
Tom Moran$
Tom Moran

04/18/2007 :: 07:45

Anonyme

toc: There are a few different ways to create undo. It also depends on how many levels of undo you wish. You should probably also create a redo routine so the user can go in both directions.

CloneImage is a good way or another way is to use the stdPicture object. These can be created on the fly and created only when needed. As an example of creating 10 levels of undo where PicUndo and PicRedo are declared stdPicture objects:

Public Sub SaveUndo()

UndoCount = UndoCount + 1

If UndoCount > 10 Then
UndoCount = 10
'shuffle the existing undo's up a level to make room for
' new undo

For i = 0 To 9
Set PicUndo(i) = PicUndo(i + 1)
Set PicRedo(i) = PicUndo(i)
Next

End If

'copy latest image before a change
Set PicUndo(UndoCount) = oGdPicture.GetPicture

frmMain.butUndo.Enabled = True
frmMain.mnuUndo.Enabled = True

'flag that we have an undo stored
UndoDirty = True

End Sub

While this is an incomplete snippet it gives you the idea of creating undo's. You would need a similar routine for redo's so the user can go back.

Tom
toc$2007102
toc

04/18/2007 :: 10:36

Registered

HI Tom,
Yea np's on the undo Ill knock up a routine thanks, I just wonderd what CreateClonedImage was going to do now I found the answer!
toc$2007102
toc

04/20/2007 :: 15:05

Registered

Quote : toc "rollback several steps after I found that simply adjusting the brightness of an image up then back down will actually white wash the image out."

I take that back that was back it was code in the example, it created 10% brightness on 10% on 10% and so on so the image was lost, just by taking a clone before you start and revert to it on every time you adjut youll be starting from the same datum, I use this with a scrollbar and on change set the image to original before start adjuting, works a treat.
Chris$
Chris

04/27/2007 :: 05:52

Anonyme

Greetings Loiic

About the Exif Tags not being compatible with GDPicture, I've noticed one tag that is written by the control, the "SoftwareUsed" tag. I've captured a screen shot, modified it a bit, than saved the image.

I noticed the SoftwareUsed tag from within the program and it shows from the file's property's window. Example, for the file property's window, it'll show as: Creation Software = GDPicture - http://www.gdpicture.com

1.) Isn't possible to simply add more exif tags using the current method that you use for 'SoftwareUsed'?

2.) For my project, I must have the 'SoftwareUsed' tag write something other than the GDPicture website. Is there a method that already exists for overwriting this tag, like object.ExifTagSoftwareUsed = "My application"? If not, can you add this to a future revision? At least enabled for paid/registered users.

Even if no other exif tags are added anytime soon, that's fine of course...take your time -- but at least something to change the SoftwareUsed tag would much more be appreciated.


Let me know.

Thanks!
- Chris
toc$2007102
toc

04/27/2007 :: 13:03

Registered

Chris, Exif tags being lossed was fixed. But yes valid point about the sofwareused should be the developers software title. Note: In Vista all Exif tags can be removed indivisually using the OS a check box for each one!! which is kinda counter productive of the tags!!!
Loïc$2006306
Loïc

04/27/2007 :: 15:31

Registered

OK!

I think that if I do not do something for write tags, there will be the revolution !


For the next release GdPicture light & GdPicture Pro will be able to write tags into an image.

Best regards,

Loïc
Loïc$2006306
Loïc

04/27/2007 :: 16:11

Registered

Hi,

1- Now it is possible to write TAGS (Exif, GPS, Thumbnails...)

Method: TagsWriteTypeASCII()
http://www.gdpicture.com/references/gdpicturepro/content/cGdPicture-TagsWriteTypeASCII.html

Ex: nState = oGdPicture.TagsWriteTypeASCII(PropertyTagSoftwareUsed, "Your Software name")


2- Now it is possible to ask to the component do don't write the creation software tag.

Method: TagsBypassGdPictureTag()
http://www.gdpicture.com/references/gdpicturepro/content/cGdPicture-TagsBypassGdPictureTag.html



NOTE: For the moment available into the last pre-release.
http://www.gdpicture.com/ressources/betas/
http://www.gdpicture.com/informations.php


Best regards,

Loïc
toc$2007102
toc

04/27/2007 :: 17:05

Registered

nice work.
Chris$
Chris

04/27/2007 :: 18:53

Anonyme

Loiic,

Wow, that was fast! Although, I'm having a major problem trying to test it, I downloaded the control, copied to C:\Windows\system32 folder, registered the file as usual using

regsvr32 C:\WINDOWS\system32\gdpicturepro.ocx

Than when I try loading the control into VB6, I get an error message: "Error in loading DLL".

-----

Also if users can now write any exif tags, maybe the TagsBypassGdPictureTag method would not be needed? Since the user can simply write their own SoftwareUsed tag....something to help minimize the control file size.



- Chris
Loïc$2006306
Loïc

04/27/2007 » 19:10

Registered

Chris I've made a little error.
Please download another time from http://www.gdpicture.com/ressources/betas/

It will works now!

Best regards,

Loïc Carrère

Edited by @lcarrere  
back to forum