我正在寻找将自定义元数据写入图像(主要是jpeg,但也可能是其他人).到目前为止,我还没有能够通过PIL做到这一点(我在五号和我无法安装pyexiv)我明白我可以更新一些预定义的标签,但我需要创建自定义字段/标签!可以这样做吗?
这些数据将由用户创建,因此我不知道这些标记是手头的或它们包含的内容.我需要允许它们创建标签/子标签,然后为它们写入数据.例如,某人可能想要在特定图像上创建此元数据:
Category : Human
Physical :
skin_type : smooth
complexion : fair
eye_color: blue
beard: yes
beard_color: brown
age: mid
Location :
city: london
terrain: grass
buildings: old
Run Code Online (Sandbox Code Playgroud)
我还发现,通过PIL JpegImagePlugin保存jpeg后,所有以前的元数据都会被您无法编辑的新数据覆盖?那是一个错误吗?
干杯,S
我的日食(juno 4.2,centos 5.6)无法连接到互联网。在所有。我有一个代理服务器设置。
我查看了Eclipse 无法连接到互联网 以及其他各种问题。因此,目前,我的 eclipse.ini 文件如下所示:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-Dhttp.proxyHost=192.168.1.21
-Dhttp.proxyPort=3128
-Dhttp.nonProxyHosts=localhost|127.0.0.1
-Djava.net.preferIPv4Stack=true
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms40m
-Xmx512m
Run Code Online (Sandbox Code Playgroud)
我还尝试在首选项(首选项/网络连接)中设置代理服务器值 - 设置 HTTP、HTTPS、SOCKS 主机、端口和凭据。但是没有一个 Active Provider 设置(手动、本机、直接)对我有用。
我花了足够的时间在这上面知道我需要帮助。糟糕。:P
所以,我来了……救命!!