#NEWLINE# def TryMerge( self , d ) : #NEWLINE# #INDENT# while ( d . avail ( ) > 0 ) : #NEWLINE# #INDENT# tt = d . getVarInt32 ( ) #NEWLINE# if ( tt == 8 ) : #NEWLINE# #INDENT# self . set_width ( d . getVarInt32 ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 16 ) : #NEWLINE# #INDENT# self . set_height ( d . getVarInt32 ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 24 ) : #NEWLINE# #INDENT# self . set_rotate ( d . getVarInt32 ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 32 ) : #NEWLINE# #INDENT# self . set_horizontal_flip ( d . getBoolean ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 40 ) : #NEWLINE# #INDENT# self . set_vertical_flip ( d . getBoolean ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 53 ) : #NEWLINE# #INDENT# self . set_crop_left_x ( d . getFloat ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 61 ) : #NEWLINE# #INDENT# self . set_crop_top_y ( d . getFloat ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 69 ) : #NEWLINE# #INDENT# self . set_crop_right_x ( d . getFloat ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 77 ) : #NEWLINE# #INDENT# self . set_crop_bottom_y ( d . getFloat ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 80 ) : #NEWLINE# #INDENT# self . set_autolevels ( d . getBoolean ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 88 ) : #NEWLINE# #INDENT# self . set_crop_to_fit ( d . getBoolean ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 101 ) : #NEWLINE# #INDENT# self . set_crop_offset_x ( d . getFloat ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 109 ) : #NEWLINE# #INDENT# self . set_crop_offset_y ( d . getFloat ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 112 ) : #NEWLINE# #INDENT# self . set_allow_stretch ( d . getBoolean ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( d == 0 ) : #NEWLINE# #INDENT# raise ProtocolBuffer . ProtocolBufferDecodeError #NEWLINE# #UNINDENT# d . skipData ( tt )