metadata

Writing XMP Metadata in jpeg (with PHP) - Using Single or Multiple rdf:Description blocks

寵の児 提交于 2019-12-03 17:19:51
I am attempting to modify the code from PHP_JPEG_Metadata_Toolkit so that I can read and write XMP data correctly for jpeg files using PHP. Currently, the jpeg files (when saved by the Toolkit) give errors with Adobe Photoshop & Bridge because of the XMP block. There are two ways I'm seeing the XMP RDF schema used by Photoshop. The first is what Photoshop is actually saving in the jpg and which I am importing. Photoshop uses a single rdf:Description block for everything. It throws many schema identifiers (urls) within the block itself PLUS adds values for many metadata fields. Then following

Creating Internal Accounts in SAS Metadata Server by programm on SAS Base

拈花ヽ惹草 提交于 2019-12-03 16:52:44
I'm trying to create Internal Accounts programmaticaly by using proc metadata . The code section below creates person with External Login. put"<Person Name=%str(%')&&PersonName&i.%str(%')>"; put"<Logins>"; put"<Login Name=%str(%')Login.&&PersonName&i.%str(%') Password=%str(%')&&word&i.%str(%')/>"; put"</Logins>"; put"</Person>"; To create ExternalLogin we can set attribute Password , and in SAS Metadata it will be encrypted automaticaly. But to create InternalLogin type of object it is necessary to make the hash value of the password and the salt . I know that the standard sas002 encryption

How to write custom metadata to PNG images in iOS

こ雲淡風輕ζ 提交于 2019-12-03 16:36:27
问题 My application should be able to write custom metadata entries to PNG images for export to the UIPasteboard. By piecing together various posts on the subject, I've been able to come up with the class given below as source. Triggering the copyPressed method with a button, I'm able to set custom metadata with JPG images (EXIF): Image[6101:907] found jpg exif dictionary Image[6101:907] checking image metadata on clipboard Image[6101:907] { ColorModel = RGB; Depth = 8; Orientation = 1;

java annotations: library to override annotations with xml files

时间秒杀一切 提交于 2019-12-03 16:31:54
问题 Java has annotations and that is good. However, some developers feel that it is best to annotate code with metadata using xml files - others prefer annotations but would use metadata to override annotations in source code. I am writing a Java framework that uses annotations. The question is: is there a standard way to define and parse metadata from xml files. I think this is something every framework that uses annotations could benefit from but I can seem to find something like this on the

Hadoop Namenode Metadata - fsimage and edit logs

南楼画角 提交于 2019-12-03 16:02:29
I understand that the fsimage is loaded into the memory on startup and any further transactions are added to the edit log rather than to the fsimage for performance reasons. The fsimage in memory gets refreshed when the namenode is restarted. For efficiency, secondary name node periodically does a checkpoint to update the fsimage so that the namenode recovery is faster. All these are fine. But one point which i fail to understand is this, Lets say that a file already exists and the info about this file is in the fsimage in memory. Now i move this file to a different location, which is updated

Markdown metadata format

非 Y 不嫁゛ 提交于 2019-12-03 15:44:18
问题 Is there a standard or convention for embedding metadata in a Markdown formatted post, such as the publication date or post author for conditional rendering by the renderer? Looks like this Yaml metadata format might be it. There are all kinds of strategies, e.g. an accompanying file mypost.meta.edn , but I'm hoping to keep it all in one file. 回答1: There are two common formats that look very similar but are actually different in some very specific ways. And a third which is very different.

Any Metadata driven UI sample code?

∥☆過路亽.° 提交于 2019-12-03 15:18:03
问题 I am in the process of designing a .net windows forms application that uses metadata to drive the UI. Apart from finding http://msdn.microsoft.com/en-us/library/ms954610.aspx, I have nothing much to look forward to. Anyone here worked on metadata driven User interfaces? What are the implications of following this methodology and any pointers would be greatly helpful. 回答1: The most obvious answer would be that Microsoft have themselves embraced this concept through their use of Xaml in Windows

Applying metadata to image causes performChanges request to fail

限于喜欢 提交于 2019-12-03 15:04:02
问题 I am using PhotoKit to edit photos and I need to preserve the metadata from the original photo. To do so I save the metadata then provide it to the options parameter in CGImageDestinationAddImage . I am able to finalize it and write it to disk successfully, but when I call performChanges to commit the asset edit, it fails. If I instead provide nil for options it will succeed. What is going wrong here? asset.requestContentEditingInputWithOptions(options) { (input: PHContentEditingInput!, _) ->

Error: Cannot obtain Metadata from http …?wsdl

点点圈 提交于 2019-12-03 14:47:17
I have been in the process of converting a http application to https and ssl with a self signed certificate. for some reason i have to go in the browser to localhost:##### to start the service. Once the service is started, i test it with the following call in the visual studio 2012 comman prompt: svcutil.exe https://localhost:10201/?wsdl and it comes back with Error: Cannot obtain Metadata from https://localhost:10201/?wsdl If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address. For

Find if a column in Oracle has a sequence

为君一笑 提交于 2019-12-03 14:38:32
问题 I am attempting to figure out if a column in Oracle is populated from a sequence. My impression of how Oracle handles sequencing is that the sequence and column are separate entities and one needs to either manually insert the next sequence value like: insert into tbl1 values(someseq.nextval, 'test') or put it into a table trigger. Meaning that it is non-trivial to tell if a column is populated from a sequence. Is that correct? Any ideas about how I might go about figuring out if a column is