微信mac版?彩蛋

无聊的时候打开了微信的应用包,发现一个好玩的事情,在微信的应用包里面,放本地标签的文件夹里有一个ImageEdit.json文件,里面的预览是这样的:


预览小图

看起来好像是有一段文章:

这个文件的内容:

{

    "MMImageEditZoomTypeShrink_frame" : {"X" : 18, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditZoomTypeShrink_hover" : "Viewer_Deflation",

    "MMImageEditZoomTypeShrink_selected" : "Viewer_Deflation",

    "MMImageEditZoomTypeShrink_pressed" : "Viewer_DeflationHl",

    "MMImageEditZoomTypeShrink_normal" : "Viewer_Deflation",

    "MMImageEditZoomTypeShrink_disabled" : "Viewer_DeflationUnable",


    "MMImageEditZoomTypeMagnify_frame" : {"X" : 64, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditZoomTypeMagnify_hover" : "Viewer_Enlarge",

    "MMImageEditZoomTypeMagnify_selected" : "Viewer_Enlarge",

    "MMImageEditZoomTypeMagnify_pressed" : "Viewer_EnlargeHl",

    "MMImageEditZoomTypeMagnify_normal" : "Viewer_Enlarge",

    "MMImageEditZoomTypeMagnify_disabled" : "Viewer_EnlargeUnable",


    "MMImageEditGraphTypeCurve_frame" : {"X" : 130, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditGraphTypeCurve_hover" : "Photo_Edit_Pen",

    "MMImageEditGraphTypeCurve_selected" : "Photo_Edit_PenHl",

    "MMImageEditGraphTypeCurve_pressed" : "Photo_Edit_PenClick",

    "MMImageEditGraphTypeCurve_normal" : "Photo_Edit_Pen",

    "MMImageEditGraphTypeCurve_disabled" : "Photo_Edit_PenUnable",


    "MMImageEditGraphTypeRoundRect_frame" : {"X" : 176, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditGraphTypeRoundRect_hover" : "Photo_Edit_Square",

    "MMImageEditGraphTypeRoundRect_selected" : "Photo_Edit_SquareHl",

    "MMImageEditGraphTypeRoundRect_pressed" : "Photo_Edit_SquareClick",

    "MMImageEditGraphTypeRoundRect_normal" : "Photo_Edit_Square",

    "MMImageEditGraphTypeRoundRect_disabled" : "Photo_Edit_SquareUnable",


    "MMImageEditGraphTypeOval_frame" : {"X" : 222, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditGraphTypeOval_hover" : "Photo_Edit_Round",

    "MMImageEditGraphTypeOval_selected" : "Photo_Edit_RoundHl",

    "MMImageEditGraphTypeOval_pressed" : "Photo_Edit_RoundClick",

    "MMImageEditGraphTypeOval_normal" : "Photo_Edit_Round",

    "MMImageEditGraphTypeOval_disabled" : "Photo_Edit_RoundUnable",


    "MMImageEditGraphTypeArrow_frame" : {"X" : 268, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditGraphTypeArrow_hover" : "Photo_Edit_Arrow",

    "MMImageEditGraphTypeArrow_selected" : "Photo_Edit_ArrowHl",

    "MMImageEditGraphTypeArrow_pressed" : "Photo_Edit_ArrowClick",

    "MMImageEditGraphTypeArrow_normal" : "Photo_Edit_Arrow",

    "MMImageEditGraphTypeArrow_disabled" : "Photo_Edit_ArrowUnable",


    "MMImageEditGraphTypeText_frame" : {"X" : 314, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditGraphTypeText_hover" : "Photo_Edit_Text",

    "MMImageEditGraphTypeText_selected" : "Photo_Edit_TextHl",

    "MMImageEditGraphTypeText_pressed" : "Photo_Edit_TextClick",

    "MMImageEditGraphTypeText_normal" : "Photo_Edit_Text",

    "MMImageEditGraphTypeText_disabled" : "Photo_Edit_TextUnable",


    "MMImageEditGraphTypeMosaicPen_frame" : {"X" : 360, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditGraphTypeMosaicPen_hover" : "Photo_Edit_Mosaic",

    "MMImageEditGraphTypeMosaicPen_selected" : "Photo_Edit_MosaicHl",

    "MMImageEditGraphTypeMosaicPen_pressed" : "Photo_Edit_MosaicClick",

    "MMImageEditGraphTypeMosaicPen_normal" : "Photo_Edit_Mosaic",

    "MMImageEditGraphTypeMosaicPen_disabled" : "Photo_Edit_MosaicUnable",


    "MMImageEditGraphTypeEmoticon_frame" : {"X" : 406, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditGraphTypeEmoticon_hover" : "Photo_Edit_Expression",

    "MMImageEditGraphTypeEmoticon_selected" : "Photo_Edit_ExpressionHl",

    "MMImageEditGraphTypeEmoticon_pressed" : "Photo_Edit_ExpressionClick",

    "MMImageEditGraphTypeEmoticon_normal" : "Photo_Edit_Expression",

    "MMImageEditGraphTypeEmoticon_disabled" : "Photo_Edit_ExpressionUnable",


    "MMImageEditGraphTypeTailor_frame" : {"X" : 452, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditGraphTypeTailor_hover" : "Photo_Edit_Screenshots",

    "MMImageEditGraphTypeTailor_selected" : "Photo_Edit_ScreenshotsHl",

    "MMImageEditGraphTypeTailor_pressed" : "Photo_Edit_ScreenshotsClick",

    "MMImageEditGraphTypeTailor_normal" : "Photo_Edit_Screenshots",

    "MMImageEditGraphTypeTailor_disabled" : "Photo_Edit_ScreenshotsUnable",


    "MMImageEditToolbarFunctionButtonTypeUndo_frame" : {"X" : 518, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditToolbarFunctionButtonTypeUndo_hover" : "Photo_Edit_Back",

    "MMImageEditToolbarFunctionButtonTypeUndo_selected" : "Photo_Edit_BackHl",

    "MMImageEditToolbarFunctionButtonTypeUndo_pressed" : "Photo_Edit_BackClick",

    "MMImageEditToolbarFunctionButtonTypeUndo_normal" : "Photo_Edit_Back",

    "MMImageEditToolbarFunctionButtonTypeUndo_disabled" : "Photo_Edit_BackUnable",


    "MMImageEditToolbarFunctionButtonTypeForward_frame" : {"X" :  564, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditToolbarFunctionButtonTypeForward_hover" : "Photo_Edit_Forward",

    "MMImageEditToolbarFunctionButtonTypeForward_selected" : "Photo_Edit_ForwardClick",

    "MMImageEditToolbarFunctionButtonTypeForward_pressed" : "Photo_Edit_ForwardClick",

    "MMImageEditToolbarFunctionButtonTypeForward_normal" : "Photo_Edit_Forward",

    "MMImageEditToolbarFunctionButtonTypeForward_disabled" : "Photo_Edit_ForwardUnable",


    "MMImageEditToolbarFunctionButtonTypeDownload_frame" : {"X" : 610, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditToolbarFunctionButtonTypeDownload_hover" : "Photo_Edit_Download",

    "MMImageEditToolbarFunctionButtonTypeDownload_selected" : "Photo_Edit_DownloadClick",

    "MMImageEditToolbarFunctionButtonTypeDownload_pressed" : "Photo_Edit_DownloadClick",

    "MMImageEditToolbarFunctionButtonTypeDownload_normal" : "Photo_Edit_Download",

    "MMImageEditToolbarFunctionButtonTypeDownload_disabled" : "Photo_Edit_DownloadUnable",


    "MMImageEditToolbarFunctionButtonTypeCancel_frame" : {"X" : 656, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditToolbarFunctionButtonTypeCancel_hover" : "Photo_Edit_Close",

    "MMImageEditToolbarFunctionButtonTypeCancel_selected" : "Photo_Edit_CloseClick",

    "MMImageEditToolbarFunctionButtonTypeCancel_pressed" : "Photo_Edit_CloseClick",

    "MMImageEditToolbarFunctionButtonTypeCancel_normal" : "Photo_Edit_Close",

    "MMImageEditToolbarFunctionButtonTypeCancel_disabled" : "Photo_Edit_CloseClick",


    "MMImageEditToolbarFunctionButtonTypeOK_frame" : {"X" : 702, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditToolbarFunctionButtonTypeOK_hover" : "Photo_Edit_Okay",

    "MMImageEditToolbarFunctionButtonTypeOK_selected" : "Photo_Edit_OkayClick",

    "MMImageEditToolbarFunctionButtonTypeOK_pressed" : "Photo_Edit_OkayClick",

    "MMImageEditToolbarFunctionButtonTypeOK_normal" : "Photo_Edit_Okay",

    "MMImageEditToolbarFunctionButtonTypeOK_disabled" : "Photo_Edit_OkayClick",


    "MMImageEditToolBarSize" : {"W" : 750, "H" : 46},

    "MMImageEditToolbarSeperateLineStart_frame" : {"X" : 112, "Y" : 13, "W" : 0, "H" : 0},

    "MMImageEditToolbarSeperateLineStart" : "ImageEdit_ToolBar_Separate_Line",


    "MMImageEditToolbarSeperateLineEnd_frame" : {"X" : 500, "Y" : 13, "W" : 0, "H" : 0},

    "MMImageEditToolbarSeperateLineEnd" : "ImageEdit_ToolBar_Separate_Line",


    "MMImageEdit_BackgroundColor" : {"R": 255 , "G" : 255 , "B" : 255 , "A" : 0.8},



    "MMImageEditLineWidth3px_normal" : "Photo_Edit_PenSize_Small",

    "MMImageEditLineWidth3px_selected" : "Photo_Edit_PenSize_SmallHl",

    "MMImageEditLineWidth6px_normal" : "Photo_Edit_PenSize_Middle",

    "MMImageEditLineWidth6px_selected" : "Photo_Edit_PenSize_MiddleHl",

    "MMImageEditLineWidth9px_normal" : "Photo_Edit_PenSize_Big",

    "MMImageEditLineWidth9px_selected" : "Photo_Edit_PenSize_BigHl",


    "MMImageEditLineColorBorderColor" : {"Hex" : "#ffffff", "A" : 0.2},

    "MMImageEditFontSizeBorderColor" : {"Hex" : "#abadba", "A" : 0.2},

    "MMImageEditFontSize_FontColor" : {"Hex" : "#ffffff"},


    "MMImageEditMenu_BackgroundColor" : {"R": 255 , "G" : 255 , "B" : 255},

    "MMImageEditMenu_BorderColor" : {"Hex" : "#ffffff"},

    "MMImageEditMenu_HoverColor" : {"Hex" : "#4396ff"},


    "MMImageEditPullDownArrow" : "Photo_Edit_TextSize",


    "move_cursor" : "move_cursor",

    "resize_cursor_0" : "resize_cursor_0",

    "resize_cursor_45" : "resize_cursor_45",

    "resize_cursor_90" : "resize_cursor_90",

    "resize_cursor_135" : "resize_cursor_135",

    "ImageEdit_Rotate_Icon0" : "ImageEdit_Rotate_Icon0",

    "ImageEdit_Rotate_Icon45" : "ImageEdit_Rotate_Icon45",

    "ImageEdit_Rotate_Icon90" : "ImageEdit_Rotate_Icon90",

    "ImageEdit_Rotate_Icon135" : "ImageEdit_Rotate_Icon135",

    "ImageEdit_Rotate_Icon180" : "ImageEdit_Rotate_Icon180",

    "ImageEdit_Rotate_Icon225" : "ImageEdit_Rotate_Icon225",

    "ImageEdit_Rotate_Icon270" : "ImageEdit_Rotate_Icon270",

    "ImageEdit_Rotate_Icon315" : "ImageEdit_Rotate_Icon315",

    "sightingTelescopeCursor" : "sightingTelescopeCursor",


    "MMImageEditLineWidthViewSize" : {"W" : 76, "H" : 38},

    "MMImageEditLineWidthViewMargin" :  {"L" : 12},

    "MMImageEditLineWidthButton1Frame" : {"X" : 0, "Y" : 12, "W" : 16, "H" : 16},

    "MMImageEditLineWidthButton2Frame" : {"X" : 27, "Y" : 12, "W" : 16, "H" : 16},

    "MMImageEditLineWidthButton3Frame" : {"X" : 59, "Y" : 12, "W" : 16, "H" : 16},

    "MMImageEditLineWidthButton1Value" : 3,

    "MMImageEditLineWidthButton2Value" : 6,

    "MMImageEditLineWidthButton3Value" : 9,

    "MMImageEditLineColorViewSize" : {"W" : 121, "H" : 38},

    "MMImageEditLineColorViewMargin" : {"L" : 20},

    "MMImageEditLineColorButton1Frame" : {"X" : 0, "Y" : 11, "W" : 16, "H" : 16},

    "MMImageEditLineColorButton2Frame" : {"X" : 21, "Y" : 11, "W" : 16, "H" : 16},

    "MMImageEditLineColorButton3Frame" : {"X" : 42, "Y" : 11, "W" : 16, "H" : 16},

    "MMImageEditLineColorButton4Frame" : {"X" : 63, "Y" : 11, "W" : 16, "H" : 16},

    "MMImageEditLineColorButton5Frame" : {"X" : 84, "Y" : 11, "W" : 16, "H" : 16},

    "MMImageEditLineColorButton6Frame" : {"X" : 105, "Y" : 11, "W" : 16, "H" : 16},


    "MMImageEditFontSizeViewSize" : {"W" : 80, "H" : 38},

    "MMImageEditFontSizeViewMargin" : {"L" : 10},

    "MMImageEditPalletViewSize_WidthColor" : {"W" : 239, "H" : 44},

    "MMImageEditPalletViewSize_Width" : {"W" : 98, "H" : 44},

    "MMImageEditPalletViewSize_FontColor" : {"W" : 241, "H" : 44},

    "MMImageEditPalletViewSize_Logo" : {"W" : 56, "H" : 44},

    "MMImageEditPalletViewArrowSize" : {"W" : 12, "H" : 6},


    "Photo_Edit_Forward" : "Photo_Edit_Forward",

    "Photo_Edit_Download" : "Photo_Edit_Download",

    "Photo_Edit_Collection" : "Photo_Edit_Collection",


    "Photo_Edit_ForwardClick" : "Photo_Edit_ForwardClick",

    "Photo_Edit_DownloadClick" : "Photo_Edit_DownloadClick",

    "Photo_Edit_CollectionClick" : "Photo_Edit_CollectionClick",


    "MMImageEditTailorView_BackgroundColor" : {"Hex" : "#000000", "A" : 0.5},

    "MMImageEditTailorView_Tips_BackgroundColor" : {"Hex" : "#ffffff", "A" : 0.15},

    "MMImageEditTailorView_SelectRect_BorderColor" : {"Hex" : "#000000"},

    "MMImageEditTailorView_SelectRect_BorderWidth" : 1,

    "MMImageEditTailorView_SelectRect_FillColor" : {"Hex" : "#d3d3d3", "A" : 0.1},


    "MMImageEditTailorView_ControlPoint_Size" : {"W" : 8, "H" : 8},

    "MMImageEditTailorView_ControlPoint_FillColor" : {"Hex" : "#ffffff"},

    "MMImageEditTailorView_ControlPoint_StrokeColor" : {"Hex" : "#000000"},

    "MMImageEditTailorView_ControlPoint_StrokeWidth" : 1,


    "MMImageEditTailorToolbarFunctionButtonTypeCancel_frame" : {"X" : 18, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditTailorToolbarFunctionButtonTypeCancel_hover" : "Photo_Edit_Close",

    "MMImageEditTailorToolbarFunctionButtonTypeCancel_selected" : "Photo_Edit_CloseClick",

    "MMImageEditTailorToolbarFunctionButtonTypeCancel_pressed" : "Photo_Edit_CloseClick",

    "MMImageEditTailorToolbarFunctionButtonTypeCancel_normal" : "Photo_Edit_Close",

    "MMImageEditTailorToolbarFunctionButtonTypeCancel_disabled" : "Photo_Edit_Close",


    "MMImageEditTailorToolbarFunctionButtonTypeOK_frame" : {"X" : 56, "Y" : 8, "W" : 30, "H" : 30},

    "MMImageEditTailorToolbarFunctionButtonTypeOK_hover" : "Photo_Edit_Okay",

    "MMImageEditTailorToolbarFunctionButtonTypeOK_selected" : "Photo_Edit_OkayClick",

    "MMImageEditTailorToolbarFunctionButtonTypeOK_pressed" : "Photo_Edit_OkayClick",

    "MMImageEditTailorToolbarFunctionButtonTypeOK_normal" : "Photo_Edit_Okay",

    "MMImageEditTailorToolbarFunctionButtonTypeOK_disabled" : "Photo_Edit_Okay",


    "MMImageTailorEditToolBarSize" : {"W" : 102, "H" : 46},

}

不知道有没有也发现的朋友,有点好奇这种效果是怎么实现的?希望有知道的朋友可以告诉我下~感谢~~