Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

IPTC problem with ImgX ver. 6.4

Last post 24 Sep 2007, 12:47 AM by supersamin. 7 replies.
Sort Posts: Previous Next
  •  14 Oct 2003, 2:41 PM 2569

    IPTC problem with ImgX ver. 6.4

    The following code works with ImgX version 6.3. It does not work with ImgX version 6.4. Please let me know if there is a work-around.

    Private Sub Form_Load()

    ' ADD one Keyword to IPTC data. The Keyword field must not have any data

    Dim filename As String
    Dim Keyword As String
    Dim iTag As ImgX_IPTCTag
    Const tempfile = "C:\Temp\temp.jpg"

    filename = "C:\temp\©C79A3574.JPG"
    ImgX.Import.FromJPGScaled filename, ixjsEighth
    ImgX.ScaleImageToFit
    ImgX.Image.IPTC.PopulateStandardTags True
    ImgX.Image.EXIF.PopulateStandardTags True

    Keyword = "Testing"
    ImgX.Image.IPTC.Add ixitKeyword, 0
    ImgX.Image.IPTC(ixitKeyword, 0).Text = Keyword

    'Tell ImgX to save any changes to the IPTC info
    ImgX.Image.IPTC.SaveIPTCChanges = True
    ImgX.JPGMarkersToSave = ixjmAllMarkers

    ' save to a new file
    ImgX.Image.CopyJPEGMetadataToFile filename, tempfile

    ' rename the temp file to the original filename
    Kill filename
    Name tempfile As filename


    ' Retireve Keyword
    ImgX.Import.FromJPGScaled filename, ixjsEighth
    ImgX.ScaleImageToFit
    ImgX.Image.IPTC.PopulateStandardTags True
    ImgX.Image.EXIF.PopulateStandardTags True

    If ImgX.Image.IPTC.ContainsIPTC Then
    For Each iTag In ImgX.Image.IPTC
    Select Case iTag.ID
    Case ixitKeyword
    Keyword = iTag.Text
    ' The program stops here for ImgX version 6.3
    ' The Stop never gets executed for ImgX version 6.4
    Stop
    End Select
    Next iTag
    End If
    End Sub
  •  15 Oct 2003, 2:08 PM 2570 in reply to 2569

    RE: IPTC problem with ImgX ver. 6.4

    I'm not able to duplicate this problem.

    Does it only happen with specific images?

    Glenn Chittenden Jr.

    Atalasoft Developer


    Glenn Chittenden Jr.
    Atalasoft Development Team
  •  17 Oct 2003, 7:18 PM 2571 in reply to 2569

    RE: IPTC problem with ImgX ver. 6.4

    I know it happens to jpg's - that is every jpg. The jpg's are from a Cannon EOS 1D. Let me know if I need to send an image to you.
  •  17 Oct 2003, 7:20 PM 2572 in reply to 2569

    RE: IPTC problem with ImgX ver. 6.4

    What version of ImgX 6.4 is this? The latest version released a couple weeks ago fixed some IPTC problems.
    Bill Bither
    Atalasoft
  •  22 Oct 2003, 7:41 PM 2573 in reply to 2569

    RE: IPTC problem with ImgX ver. 6.4

    THe version is 6.4.2,
  •  22 Oct 2003, 8:00 PM 2574 in reply to 2569

    RE: IPTC problem with ImgX ver. 6.4

    6.4.3 is the latest version and does have some IPTC fixes in it. You might want to download it and see if that helps.

    Glenn Chittenden Jr.

    Atalasoft Developer


    Glenn Chittenden Jr.
    Atalasoft Development Team
  •  27 Oct 2003, 7:13 PM 2575 in reply to 2569

    RE: IPTC problem with ImgX ver. 6.4

    I uninstalled version 6.3, and installed version 6.4.4. I still have the same problem. As I loop through the IPTC tags, the tag ixitKeyword is not found. ( The tag numbers go from 15 to 55. Tag 25, for ixitKeyword, is not listed.) This has something to do with Cannon jpg files from an EOS 1D camera. It happens with every jpg file from this camera.

    If I use a file fro a Nikon camera, I do not have the problem.
  •  24 Sep 2007, 12:47 AM 12576 in reply to 2575

    Re: RE: IPTC problem with ImgX ver. 6.4

    I did it nicely with ImgX ver 6.4.3.

    And it seems correct also when whe view itu with Photoshop. But... the keywords is missing when we view it with Photostation Pro.

     can anyone help me with this ??
     

View as RSS news feed in XML