ExitInterface

本文介绍了如何使用ExifInterface类来读取和修改图片文件中的Exif数据,包括获取和设置图片描述等属性。

1.

ExifInterface ei=new ExifInterface(imageFilePath);

String imageDescription=ei.getAttribute("ImageDescription");

if(imageDescription!=null){

  log.v("EXIF",imageDescription);

}

显示使用ExifInterface将Exif数据保存到图形文件中:

ExifInterface ei=new ExifInterface(imageFilePath);

ei.setAttribute("ImageDescription","Something New");



User Access Verification For vty0 password: password: C_WHZXZH_CAM_CS01>en password: C_WHZXZH_CAM_CS01#sh run Building Configuration...done ! Current configuration : 4457 bytes ! ! Last configuration change at UTC FRI JUN 20 13:14:28 2025 ! Flash config last updated at UTC FRI JUN 20 13:14:47 2025 ! Configuration version 0.34 ! !software version 6.6.4.1.27(C)(integrity) !software image file flash0: /flash/sp4-g-6.6.4.1.27(C).pck !compiled on Aug 13 2015, 22:54:13 hostname C_WHZXZH_CAM_CS01 service password-encryption service login-secure enable password 542f1323d78a encrypt ip ctrl-protocol unicast ip ctrl-protocol multicast ip load-sharing per-destination ip access-list standard static-to-ospf 10 permit 11.202.0.0 0.0.255.255 20 permit 11.48.0.0 0.0.255.255 exit vlan 1 exit vlan 2 name TO:C_HTCZ_COR_CR_01 exit vlan 3 name TO:HTCZ_COR_S02 exit vlan 100-112 vlan 594 name GuangDian-ShiPinHuiYi exit vlan 693 name GuangDian-JianKong exit !slot_0_SM4220-52TC(V1) !slot 0 !cardtype_0_0x204d3381 interface gigabitethernet0/1 description To GuangDian-XiaLianWangDian switchport mode trunk switchport trunk allowed vlan all switchport trunk pvid vlan 1 exit interface gigabitethernet0/2 description To GuangDian-ShiPinHuiYi switchport access vlan 594 exit interface gigabitethernet0/4 description To GuangDian-JianKong switchport access vlan 693 exit interface gigabitethernet0/47 no switchport exit interface gigabitethernet0/48 no switchport media-type fiber description To C_WHZXZH_COR_CR01-G0/1/0 ip address 11.48.252.2 255.255.255.252 ip ospf network point-to-point exit !end interface null0 exit interface dc0 duplex full exit interface loopback0 ip address 11.48.255.3 255.255.255.255 exit interface vlan100 description To WuHaiZhiHang ip address 11.48.254.253 255.255.255.252 exit interface vlan101 description To GongYuanLuZhiHang ip address 11.48.254.226 255.255.255.252 exit interface vlan102 description To BinHeZhiHang ip address 11.48.254.206 255.255.255.252 exit interface vlan103 description To ShiChengZhiHang ip address 11.48.254.242 255.255.255.252 exit interface vlan104 description To HaiNanQuZhiHang ip address 11.48.254.238 255.255.255.252 exit interface vlan105 description To AnJuZhiHang ip address 11.48.254.234 255.255.255.252 exit interface vlan106 description to JieFangLuZhiHang ip address 11.48.254.230 255.255.255.252 exit interface vlan107 description To RenMinLZhiHang ip address 11.48.254.250 255.255.255.252 exit interface vlan108 description to HaiBeiZhiHang ip address 11.48.254.214 255.255.255.252 exit interface vlan109 description To JianXinZhiHang ip address 11.48.254.222 255.255.255.252 exit interface vlan110 description to ZhuoZiShanZhiHang ip address 11.48.254.218 255.255.255.252 exit interface vlan111 description to WenXinZhiHang ip address 11.48.254.210 255.255.255.252 exit interface vlan112 description to XinDaZhiHang ip address 11.48.254.202 255.255.255.252 exit interface vlan594 description To GuangDian-ShiPinHuiYi ip address 172.168.111.2 255.255.255.252 exit interface vlan693 ip address 172.16.194.2 255.255.255.252 exit router ospf 100 router-id 11.48.255.3 network 11.48.252.0 0.0.0.3 area 0 network 11.48.252.12 0.0.0.3 area 0 network 11.48.254.0 0.0.0.0 area 0 redistribute static route-map static-to-ospf exit ip route 11.48.3.0 255.255.255.0 11.48.254.249 name RenMinLu ip route 11.48.10.0 255.255.255.0 11.48.254.221 name JianXinZhiHang ip route 11.48.11.0 255.255.255.0 11.48.254.217 name ZhuoZiShanZhiHang ip route 11.48.12.0 255.255.255.0 11.48.254.213 name HaiBeiZhiHang ip route 11.48.13.0 255.255.255.0 11.48.254.209 name WenXinZhiHang ip route 11.202.161.0 255.255.255.0 11.48.254.254 ip route 11.202.164.0 255.255.255.0 11.48.254.237 name HaiNanZhiHang ip route 11.202.168.0 255.255.255.0 11.48.254.225 name GongYuanZhiHang ip route 11.202.170.0 255.255.255.0 11.48.254.254 ip route 11.202.174.0 255.255.255.0 11.48.254.205 name BinHeZhiHang ip route 11.202.175.0 255.255.255.0 11.48.254.241 name ShiChengZhiHang ip route 172.100.1.0 255.255.255.0 172.168.111.1 ip route 172.100.2.0 255.255.255.0 172.168.111.1 ip route 172.111.24.0 255.255.255.0 11.48.254.254 ip route 172.200.1.0 255.255.255.0 172.16.194.1 route-map static-to-ospf permit 10 match ip address static-to-ospf exit line vty 0 4 password 7 73bf64a5b417 login exit !vst_config !vst_end !end C_WHZXZH_CAM_CS01#
06-21
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值