FILE *f = fopen("t_img11.jpg", "wb");
printf("\n%s\n",MagickGetImageAttribute(magick_foto, "EXIF:WinXP-Author"));
MagickSetImageAttribute(magick_foto, "EXIF:WinXP-Author","TEST");
printf("\n%s\n",MagickGetImageAttribute(magick_foto, "EXIF:WinXP-Author"));
WRITE_TO_FILE(magick_foto,MagickWriteImagesFile,"t_img11.jpg");
fclose(f);
good day
Why i can't write the exif to my file?
The problem is:
when i read exif from my file
i see only first symbol of it
for example: "test" i see only "t"
and
when i wrote the exif to my file
i don't see it
the exif isn't changed
why?????
help me please