Suggestion: allow changing image size (Large, Medium, Small...)
Suggestion: allow changing image size (Large, Medium, Small...)
First of all thank you for the great work you done!
About this property i didn't find on your program, i suppose it will be in next releases right?
Andrea Censi.
About this property i didn't find on your program, i suppose it will be in next releases right?
Andrea Censi.
-
- Posts: 867
- Joined: Tue Mar 26, 2013 9:52 pm
You talking about thumbnail
You talking about thumbnail size ?
Image size
Hi Duka, image size normally means the image dimension expressed in pixel (ie. 6016x4000). Generally we have three choice Large, Medium, Small. I can't find this property in your program, neither in source code, but i'm pretty sure this can be retrieved from camera like the property "CompressionSettings" which represents the image compression quality.
Found MTP image size specifications for D5200
Hi Duka, i found in Nikon D5200 UsbMTP documentation the property ImageSize having property code 0x5003, is it possible to add in NikonBase.cs a new property Get/Set to handle the image size set in the camera ?
This is from Nikon D5200 UsbMTP documentation:
5.5.1.2 ImageSize
○ Property specifications
Property Code 0x5003
DataType String
Description form Enumeration
Get / Set Get / Set
Default Value 6000x4000 [Size L]
Property Value Refer to Property Value in this subsection.
○ Property outline
Indicates “Image size” that is set in the camera.
○ Property Value
The valid PropertyValues are shown below.
PropertyValue Description
6000x4000 Size L
4496x3000 Size M
2992x2000 Size S
○ Setting prohibition conditions
When the value is set under the following conditions, an error response is made as shown below and the value cannot be set.
Response Code Description
Access_Denied The CompressionSetting property (subsection 5.5.1.3) is set to [RAW].
During INFO warning
This is from Nikon D5200 UsbMTP documentation:
5.5.1.2 ImageSize
○ Property specifications
Property Code 0x5003
DataType String
Description form Enumeration
Get / Set Get / Set
Default Value 6000x4000 [Size L]
Property Value Refer to Property Value in this subsection.
○ Property outline
Indicates “Image size” that is set in the camera.
○ Property Value
The valid PropertyValues are shown below.
PropertyValue Description
6000x4000 Size L
4496x3000 Size M
2992x2000 Size S
○ Setting prohibition conditions
When the value is set under the following conditions, an error response is made as shown below and the value cannot be set.
Response Code Description
Access_Denied The CompressionSetting property (subsection 5.5.1.3) is set to [RAW].
During INFO warning
-
- Posts: 867
- Joined: Tue Mar 26, 2013 9:52 pm
Hi try this version : https:/
Hi try this version : https://dl.dropboxusercontent.com/u/409 ... .0.559.exe
Hi now is OK for ImageSize reading not for setting
I checked it and the new advanced property read fine all values list and the current setting, but still have an exception while setting this property (ie. try to change the imagesize from 6000x4000 to 4512x3000) see attached log.
The error description is "Error set property :5003, Device MTP error code: 201C"
Thank you
The error description is "Error set property :5003, Device MTP error code: 201C"
Thank you
-
- Posts: 867
- Joined: Tue Mar 26, 2013 9:52 pm
Hi i made some minor
Hi i made some minor improvement try this version: https://dl.dropboxusercontent.com/u/409 ... .0.560.exe
Everythig is fine now :-)
Thanks for your effort Duka, now this property function fine on Nikon D3200 and i suppose also on other Nikon cameras supporting the 5003 property of MTP protocol.
-
- Posts: 867
- Joined: Tue Mar 26, 2013 9:52 pm
Thanks for suggestion and for
Thanks for suggestion and for testing.