python add custom metadata row/region for images - image

Hello I am trying to make software to edit the metadata of an image to include custom properties/groups (see red boxes in image) in Python 2.7. I have tried PIL to no avail. Could someone please tell me if it is possible and if it is how to do it?
Many thanks!

Related

Install/setup image magic in Hybris?

I have Image Magic installed in my Mac.
How do I setup Image Magic for Hybris?
Please suggest what are the properties that I need to change?
Have a look here:
https://help.sap.com/viewer/d0224eca81e249cb821f2cdf45a82ace/1905/en-US/8beda241866910148f8bf99b4994733f.html
and here
https://help.sap.com/viewer/d0224eca81e249cb821f2cdf45a82ace/1905/en-US/8c0f10e6866910149f9eb77dd7e7250a.html?q=media%20conversion
and here
https://help.sap.com/viewer/d0224eca81e249cb821f2cdf45a82ace/1905/en-US/8b3669cc86691014b42abc07ad88d80f.html?q=media%20conversion
After image magic installation, you need to configure below parameters in your config/local.properties file.
imagemagick.bindir=/Users/MyUser/ImageMagick-7.0.3/bin/
imagemagick.configuration.directory=/Users/MyUser/ImageMagick-7.0.3/etc/ImageMagick-7/

Adding libpng to xcode

I want to add the library libpng to Xcode to read and write a .png file,
but even if I tried many recommended ways I could not do it.
Actually I have to read an image and manipulate its RGB values for my college project in C and I don't know the process of adding libraries to my IDE.
If you have any idea please help me, and maybe suggesty me if there is another useful PNG library.
Include it via a pod. It has a pod-spec: https://github.com/CocoaPods/Specs/blob/master/Specs/3/7/8/libpng/1.6.18/libpng.podspec.json
Check this out if you don't know pod's: https://guides.cocoapods.org/using/using-cocoapods

wkhtmltopdf with silverstripe 3.2

I'm playing around with pdf generation. After the silverstripe modules for dompdf and tcppdf which doesn't work like I want them to, I came across BetterBrief's module for wkhtmltopdf https://github.com/BetterBrief/silverstripe-pdf
It should be exactly what I need but I can't figure out why it's not creating pdfs. I installed it with composer following the module instructions, after that I installed the debian application and set up a demo template with just three words in it to test ist. But the pdf file can't be created.
The error I receive is the following and not very helpful to me http://www.sspaste.com/paste/show/5676bac4a4186
perhapse someone had the same problem or knows a solution for that.
the creation of a pdf from commandline works
wkhtmltopdf http://google.com google.pdf
Edit That's not a real solution for this problem, but an alternativ to create a pdf with SilverStripe and wkhtmltopdf. https://github.com/creativeSynergy/silverstripe-wkhtmltopdf
A quick google shows it has something to do with wkhtmltopdf needing X to work.
https://github.com/knplabs/snappy/issues/20

image Effect android using GPUImage

I am not even aware of Image Effects, I am trying to use Image filter to one image on which i have done with Drawing. For Drawing i have used DrawingView but now for effect i googled it and i have came to know that it can b apply using GLSurfaceView, ImageView, etc but i dont know
[FIRST QUESTION]
it can be apply to DrawingView?
Now i have tried GPUImage i found some code from github but not worked for me because i dont even know how i works
[SECOND QUESTION]
Steps to use GPUImage for image effects?
i have reffered this examples:
https://xjaphx.wordpress.com/learning/tutorials/
(this is not using GPUImage but somehow main goal is image effect)
http://www.java2s.com/Code/Jar/g/Downloadgpuimagelibrary110sourcesjar.htm
(Download Library from Here - ver- 1.1.1)
http://grishma102.blogspot.in/2013/10/apply-effects-on-image-using-effects.html
(Nothing happning to image when clicking menu)
https://github.com/CyberAgent/android-gpuimage (What is that i did not understand: code? then why Library folder is there?)
already asked questions but not worked
How to apply effects to camera images?
(Complex for me)
https://developer.android.com/reference/android/graphics/package-summary.html
(Theory)
https://stackoverflow.com/questions/29592646/display-grayscale-to-color-image-when-state-change-using-gpuimage-in-android
How to add image effects in android ?
and many more available but i dont know how to do that.. Anybody can suggest something better.. Thanks in Advance.
First question: You should try again and run GPU lib follow link https://github.com/CyberAgent/android-gpuimage. It should work if you config project properly
Second question: Don't use other libraries for Image effects, because it is written by Java code, you will face with Out of memory problem, take time for each effect by Java code also, it is really annoy. GPU lib is written by C++ and it is really cool to apply for Image editor apps
Hope you run GPU sample successfully

Is it possible to change the resolution of specific image with Jython?

this is my first question of stackoverflow and I'm really happy to share information with you guys.
I'm making some Jython scripts that change resolution of specific image, to compare two different images. One of them is reference image, the other is random image that I want to change resolution. I have tried a lot with many tools like Fiji, but I couldn't be satisfied at all.
Is there any library that is able to resize or change image resolution? Or how can I import libraries of Fiji to my scripts and project?
Please help me.. I haven't solved this for about a month. Thank you guys.

Resources