-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dng pitcure to jpg #390
Comments
Can you please include an example image url and format the code we need to run in ```r such that we can easily reproduce the exact problem ? |
#I will send the images via mail! library(magick)
dng.path<-"...../DJI_0468.DNG"
img <- image_read(dng.path,strip = FALSE)
image_attributes(img)
image_convert(img,format = "jpeg")->img_jpg
image_attributes(img_jpg)
#the same as above #the image attributes av en jpg file should look like this
jpg.path<-"L:/drönare i branter/klimpfjall/DJI_0001.jpg"
img <- image_read(jpg.path,strip = FALSE)
image_attributes(img)
#the img_jpg enfolds not the right propertys which makes it not readable from other programs.
#a function that makes it possible to define the atributes might be a simple resolution, set_attributes? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I need to convert dng files to jpg including all exif information most important the coordinates and time.
when using image_convert() an jpg image is produced and saved, but the exif information is still the same:
e.g.
image_attributes(img.dng)
property value
1 date:create 2024-01-09T14:49:06+00:00
after image convert:
im property value
1 date:create 2024-01-09T14:49:06+00:00s(img.jpg)
it is still the same but it should be like this:
date:timestamp | 2024-01-10T09:07:14+00:00
let me know if you nedd som files some example!
Best regards
Sven Adler
The text was updated successfully, but these errors were encountered: