Welcome! Log In Create A New Profile

Advanced

EXIFeditor - support for non-czech users

Posted by kiwi 
EXIFeditor - support for non-czech users
January 04, 2006 09:37PM
Please don't hesitate to contact me.
Hi Kiwi.

It is a great program.
But why isn't there a ability to chance some information like "Focal Lenght"?

I would be happy if I could add some new EXIF-Information to pictures.

Could you enable these functions?


Samgar
Re: EXIFeditor - support for non-czech users
January 23, 2006 11:47AM
Hello Samgar,


only type 2, 3 and 4 of EXIF tags can be edited by EXIFeditor (at this time). Special exception is UserComment tag (type 7), this is also editable. However 'Focal Lenght' (and many others) tags are type 5 or 7, i.e. (S)RATIONAL type by EXIF 2.1 specification.

In a future releases of EXIFeditor I will try add this functionality.

And your second question... hmm, this is very difficult to add some NEW tags... I'm pessimist:-/


Have a nice day!
Hi Kiwi.

Thank you for fast answer.

Why is it so difficult to change typ 5 or 7 tags?
In which language you have written this tool?

Will you release an version with that I can add new tags?

It would be great.

Thank you.

Samgar
Re: EXIFeditor - support for non-czech users
January 23, 2006 10:07PM
Change type 5 or 7:

Eh, it's so difficult, because I'm too lazy I guess :-)

No no, it would be easy to put in a new release.

EXIFeditor is written in VB.NET.

But add a new tags is more complicated for me. I will try some tricks.


This is a one sub where I assign a new value in given tag:

Public Shared Sub EXIFwrite(ByRef bm As Bitmap, ByVal EXIFtag As Integer, ByVal IntValue As Int32)
Dim P As System.Drawing.Imaging.PropertyItem
Dim bc As BitConverter
Try
P = bm.GetPropertyItem(EXIFtag)
P.Value = bc.GetBytes(IntValue)
P.Len = P.Value.Length
bm.SetPropertyItem(P)
Catch
End Try
End Sub
Re: EXIFeditor - support for non-czech users
January 25, 2006 10:39PM
A new version of EXIFeditor 1.5 is available in beta for now (please email me if you want to try it). Editing of 5 and 10 EXIF types is now possible. Additional minor changes in application.

But adding new EXIF tag into images functionality is more difficult as I thought. There is only one method to remove property item (i.e. EXIF tag) in .NET Framework 1.1 (and 2.0) and no method to add a new item.

See Framework documentation on [msdn2.microsoft.com]:

'It is difficult to set property items, because the PropertyItem class has no public constructors. One way to work around this restriction is to obtain a PropertyItem by retrieving the PropertyItems property value or calling the GetPropertyItem method of an Image that already has property items. Then you can set the fields of the PropertyItem and pass it to SetPropertyItem.'

I'm not sure if recommended workaround can be useful and easy to use in EXIFeditor.
Hi Kiwi.

Thank you for releasing version 1.5.
It is very useful for me.
But there is no ability to change ALL information. (example: ExifMakerNote)


Samgar
Re: EXIFeditor - support for non-czech users
January 28, 2006 09:39PM
Hi,

this works as designed, you can edit ALL EXIF information except type 7.

This type is UNKNOWN and can be (and IS in fact) very very different for each tag and each digital cameras manufacturer and each digicams models was used to take a photo. Especially ExifMakerNote tag, see [www.exif.org]. In that tag are written a lot of specific information (for example Olympus C960 - Jpeg Qual, Macro, DigiZoom, etc...).

I am afraid is impossible to write an universal(!) EXIF editor for every combinations.

Only one exception is frequently used UserComment (hex 9286), this one is editable because has fixed and well-documented structure.


Pavel.
Re: EXIFeditor - support for non-czech users
January 29, 2006 01:23PM
I've focused into EXIF MakerNotes problem even more and I found this page with product IMatch:

[www.photools.com]

This application looks very good, but costs cca. 60USD. There is info about MakerNotes problem also.
Hi Pavel.

Could you send me the source code of EXIFeditor?
It could be very instructional for me.

Thanks.

Samgar
Sorry, only registered users may post in this forum.

Click here to login