1在写android的Camera代码一项是获取相机硬件的参数,打印出来就一行,即使利用记事本自动换行也是密密麻麻的不好观看如下
RDCameraSDK=true;capture-burst-interval-max=10;zoom=0;redeye-reduction-values=;qc-ext-mode=none;max-num-detected-faces-hw=5;scene-detect-values=off,on;qc-camera-features=1;ext-mode-pip-picture-num=0;face-detection-values=off,on;whitebalance=auto;max-sharpness=30;preview-format-values=yuv420sp,yuv420sp-adreno,yuv420p,yuv420p,nv12;jpeg-thumbnail-quality=90;preview-format=yuv420sp;face-detection=off;Scenemode-supported=0;camera-mode-values=0,1;auto-exposure-values=frame-average,center-weighted,spot-metering;video-zoom-support=true;iso=auto;mce-values=enable,disable;preview-frame-rate=30;ext-mode-pip-path=none;jpeg-thumbnail-width=512;video-size=640x480;scene-mode-values=;redeye-reduction=disable;preview-fps-range-values=(8000,8000);auto-exposure=frame-average;histogram=disable;ext-mode-pip-paint=none;camera-mode=0;preview-size-values=640x480,576x432,480x320,432x240,384x288,352x288,320x240,240x160,176x144;touch-af-aec=touch-off;preview-fps-range=8000,8000;auto-whitebalance-lock=false;min-exposure-compensation=-12;antibanding=off;max-num-focus-areas=0;vertical-view-angle=42.5;fragment-shader=none;vertex-shader=none;qc-max-num-requested-faces=5;capture-burst-exposures-values=-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,9,10,11,12;max-saturation=10;capture-burst-interval-min=1;raw-format-supported=0;no-display-mode=0;max-contrast=10;picture-format-values=jpeg,raw;ext-mode-param=none;video-hfr=off;exposure-compensation-step=0.166667;scene-detect=off;picture-size=640x480;saturation=5;whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight;picture-format=jpeg;zsl=off;lensshade-values=enable,disable;selectable-zone-af=auto;video-hfr-values=off;iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600;selectable-zone-af-values=;lensshade=enable;capture-burst-exposures=;preferred-preview-size-for-video=640x480;mce=enable;hfr-size-values=432x240,320x240;zoom-supported=true;strtextures=OFF;denoise-values=denoise-off,denoise-on;zsl-values=off,on;sharpness=10;contrast=5;scene-mode=auto;jpeg-quality=85;capture-burst-interval=1;histogram-values=;overlay-format=265;metering-areas=(0, 0, 0, 0, 0);capture-burst-captures-values=2;video-size-values=640x480,576x432,480x320,432x240,384x288,352x288,320x240,240x160,176x144;skinToneEnhancement=0;preview-size=640x480;focal-length=4.6;ae-bracket-hdr-values=;denoise=denoise-off;capture-burst-retroactive=0;preview-frame-rate-values=30;power-mode-supported=true;max-num-metering-areas=0;hdr-supported=false;focus-mode-values=infinity;preview-frame-rate-mode=frame-rate-auto;power-mode=Low_Power;jpeg-thumbnail-size-values=864x480,800x480,768x432,720x480,640x480,576x432,512x384,480x320,432x240,384x288,352x288,320x240,240x160,176x144,0x0;zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,200,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390;single-isp-output-enabled=true;picture-size-values=1600x1200,1280x768,1280x720,1024x768,800x600,800x480,640x480,352x288,320x240,176x144;capture-burst-retroactive-max=2;touch-af-aec-values=;luma-adaptation=3;horizontal-view-angle=54.8;skinToneEnhancement-values=0;jpeg-thumbnail-height=384;focus-mode=infinity;channel-stream-num=0;auto-whitebalance-lock-supported=false;video-frame-format=yuv420sp;ae-bracket-hdr=Off;max-exposure-compensation=12;focus-areas=(0, 0, 0, 0, 0);video-snapshot-supported=false;num-snaps-per-shutter=1;exposure-compensation=0;auto-exposure-lock=false;effect-values=none,mono,negative,solarize,sepia,whiteboard,blackboard;capture-burst-interval-supported=true;max-zoom=59;effect=none;focus-distances=Infinity,Infinity,Infinity;touchAfAec-dx=100;touchAfAec-dy=100;auto-exposure-lock-supported=false;antibanding-values=off,50hz,60hz,auto
2、我们利用word,按照文中的参数信息的分隔符”;“换行
(1)将信息复制到word里面。也是和上面一样,这里就不上图了。
(2)点击进字符的最前面,按ctrl+h键,在”查找内容“内输入:”;“,然后点进”替换为“的输入框,如下图
(3)依次点击”更多“、"特殊格式“,然后选择”手动换行符“(下图里的查找内容应该是”;“,qu我写代码的时候查找属性时候截得图)
(4)、发现替换为里面有一个”^1“,点击全部替换就可以了,效果如图:(有2页多,这里就显示一页的内容大家看到效果就可以)
其实这种方法还可以收到添加换页,长划线等很多特殊格式信息。