Suggestion: allow changing image size (Large, Medium, Small...)

Use this forum to request new features or suggest modifications to existing features
Locked
AndreaCe
Posts: 10
Joined: Tue Apr 23, 2013 1:24 pm

Suggestion: allow changing image size (Large, Medium, Small...)

Post by AndreaCe » Tue Jun 04, 2013 7:07 pm

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.

Suggestion: allow changing image size (Large, Medium, Small...)

Advertisment
 

Duka Istvan
Posts: 867
Joined: Tue Mar 26, 2013 9:52 pm

You talking about thumbnail

Post by Duka Istvan » Tue Jun 04, 2013 10:10 pm

You talking about thumbnail size ?

AndreaCe
Posts: 10
Joined: Tue Apr 23, 2013 1:24 pm

Image size

Post by AndreaCe » Wed Jun 05, 2013 9:44 am

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.

AndreaCe
Posts: 10
Joined: Tue Apr 23, 2013 1:24 pm

Found MTP image size specifications for D5200

Post by AndreaCe » Wed Jun 05, 2013 10:37 am

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

Duka Istvan
Posts: 867
Joined: Tue Mar 26, 2013 9:52 pm

Hi try this version : https:/

Post by Duka Istvan » Wed Jun 05, 2013 4:43 pm


AndreaCe
Posts: 10
Joined: Tue Apr 23, 2013 1:24 pm

Hi now is OK for ImageSize reading not for setting

Post by AndreaCe » Wed Jun 05, 2013 7:28 pm

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

Duka Istvan
Posts: 867
Joined: Tue Mar 26, 2013 9:52 pm

Hi i made some minor

Post by Duka Istvan » Wed Jun 05, 2013 7:45 pm

Hi i made some minor improvement try this version: https://dl.dropboxusercontent.com/u/409 ... .0.560.exe

AndreaCe
Posts: 10
Joined: Tue Apr 23, 2013 1:24 pm

Everythig is fine now :-)

Post by AndreaCe » Thu Jun 06, 2013 11:55 am

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.

Duka Istvan
Posts: 867
Joined: Tue Mar 26, 2013 9:52 pm

Thanks for suggestion and for

Post by Duka Istvan » Thu Jun 06, 2013 4:19 pm

Thanks for suggestion and for testing.

Locked