allow specifying conversion resolution, drop explicit dpi
This commit is contained in:
@@ -43,6 +43,16 @@ enum ConversionPhase {
|
||||
CONVERSION_PHASE_UPLOADING_RESULTS = 5;
|
||||
}
|
||||
|
||||
// ConversionResolution represents preset output quality targets.
|
||||
enum ConversionResolution {
|
||||
CONVERSION_RESOLUTION_UNSPECIFIED = 0;
|
||||
CONVERSION_RESOLUTION_SD = 1;
|
||||
CONVERSION_RESOLUTION_HD = 2;
|
||||
CONVERSION_RESOLUTION_FHD = 3;
|
||||
CONVERSION_RESOLUTION_QHD = 4;
|
||||
CONVERSION_RESOLUTION_UHD = 5;
|
||||
}
|
||||
|
||||
// Slide contains extracted notes and the rendered image URL for one slide.
|
||||
message Slide {
|
||||
int32 index = 1;
|
||||
@@ -56,11 +66,14 @@ message SlideDeck {
|
||||
string source_filename = 2;
|
||||
repeated Slide slides = 3;
|
||||
google.protobuf.Timestamp created_at = 4;
|
||||
int32 width = 5;
|
||||
int32 height = 6;
|
||||
}
|
||||
|
||||
// CreateConversionRequest starts a conversion session.
|
||||
message CreateConversionRequest {
|
||||
string source_filename = 1;
|
||||
ConversionResolution resolution = 2;
|
||||
}
|
||||
|
||||
// CreateConversionResponse returns upload details for the session.
|
||||
|
||||
Reference in New Issue
Block a user