Menu

#46 C++ api - method to clear/remove attribute

Unstable_(example)
closed-fixed
api (1)
5
2017-03-04
2016-08-29
Gints
No

Hi!

Currently there is no option to remove a image attribute using C++ api. I have attached a patch, that adds new method, that allows to pass NULL value to SetImageAttribute function - gives an option to C++ api for removing attributes.
Took me some time to figure out why pgmagick is not setting atributes correctly, turns out for some weird reason values are appended to existing attributes, and turns out its quite useless anyways, because it seems that graphicksmagick is not saving exif data. Anyway I already made those changes so if it helps in anyway go ahead and use the patch.

1 Attachments

Discussion

  • Bob Friesenhahn

    Bob Friesenhahn - 2017-03-04
    • status: open --> closed-fixed
    • assigned_to: Bob Friesenhahn
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2017-03-04

    Your patch has been applied as Mercurial changeset c9067f61966c. Sorry that EXIF editing is not all that it should be. Thank you very much for providing this to us.

     

Log in to post a comment.