metadata

Where filesystems store their file metadata

余生长醉 提交于 2019-12-12 11:21:57
问题 So I know that a file is composed by it's data and also metadata, which is information about it (usually the name, the type of the file, dates of creation and modification, etc.). My question is where exactly is that information stored. I know it can be included inside the file, the directory or in a database, but for the Windows, Linux and MAC-OS file systems I can't seem to find this information... 回答1: Most of this information in the case of Windows and Mac is proprietary . For Windows I

Does ASC 2.0 recognize [Frame] metadata tags (ex: for Preloader factoryClass)?

强颜欢笑 提交于 2019-12-12 11:04:15
问题 I'm trying to use the new ASC2.0 compiler in the AIR SDK 3.7, but I seem to be running into a problem where it cannot detect my preloader class. If I use the non-ASC2.0 compiler, it recognizes and compiles the Preloader class declared in the Frame metadata tag in my Main class, like so: [Frame(factoryClass = "Preloader")] But as soon as I compile it with ASC2.0, it disregards the Frame metadata and just tries to compile the Main class and assume that it HAS to be a subclass of Sprite /

C# Reading Video Metadata in Windows (Title,description,year)

﹥>﹥吖頭↗ 提交于 2019-12-12 10:55:01
问题 Hey everyone just trying to make a program that browses video files and reads the title and description from the files metadata. I found some docs from microsoft here giving whats needed but how do I access these functions? what using namespaces are needed in c#? I would love any help that can be provided. 回答1: In that link you posted, scroll to the bottom and click "Shell Metadata Providers". There's more more information and some sample C++ code. Here are some other relevant links: Reading

How to set copyright metadata of an existing PDF using iTextSharp for C#

江枫思渺然 提交于 2019-12-12 09:43:51
问题 How can the copyright metadata of an existing (i.e. a pdf loaded from file or memory stream) pdf file be set using iTextSharp for C#? Thanks a lot 回答1: The native XMP structures don't have copyright implemented (or at least they don't in a way that Adobe Reader recognizes.) To do that you can reverse engineer what Adobe kicks out and write it manually: String inputPDF = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "Services.pdf"); String outputPDF = Path.Combine

Semantically correct way to add a copyright notice into a svg file?

跟風遠走 提交于 2019-12-12 08:44:02
问题 I want to add a copyright notice in my svg files and it should be only "hidden" text and no watermark. This is no real protection, because if you open a svg file with a text editor you can edit everything and delete the copyright. But I think this would be a simple and great way to show, who has made the file and a possible chance to find unlicensed graphics if there is some hidden information and if you are looking for it you can easily find it. My main question is: how should the copyright

Meta tags for different languages

ぃ、小莉子 提交于 2019-12-12 08:15:24
问题 I'm making a multi-language website and I'm sure that I saw a while ago that there is a meta tag to tell search engines the URL of the same page in a different language. I'm currently using the language tag below, but is there another tag to list the same pages URL in different languages? <meta http-equiv="content-language" content="en"> Something like?? <meta http-equiv="alternative-language" content="es" ref="/es/page.php"> 回答1: Never used it, but in theory: <link rel="alternate" href="/es

How can I extract metadata from mp3 file in ios development

回眸只為那壹抹淺笑 提交于 2019-12-12 07:38:09
问题 I am working on an ios music player with cloud storage. I need to extract the music information such as title, artist, artwork. I have an action called playit which plays and pauses the mp3 file. It should also populate some UILables and UIImage with the metadtaa that is associated with the mp3 file. The problem is that I could not get the metadata extracted from more than different 25 mp3 files. Here is my code: The file url is correct because the audio player is able to find and play it,

Image Metadata for a specified directory in Java

老子叫甜甜 提交于 2019-12-12 06:55:45
问题 Here I have code for displaying metadata for 1 file. I wanted to know how can I use to display metadata for a specified directory? import java.io.*; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.*; import javax.imageio.*; import javax.imageio.stream.*; import javax.imageio.metadata.*; import java.util.Scanner; public class Metadata{ public static void main(String[] args) { Metadata meta = new Metadata(

How to use CopyIntoItems to copy files into existing doclib items

我怕爱的太早我们不能终老 提交于 2019-12-12 05:48:54
问题 This is my scenario: I need to copy files to a sharepoint document library using its web services and set metadata on them. That's all possible with CopyIntoItems (from Copy webservice) except for Lookup fields. CopyIntoItems ignores them, so i need another way to set data on those fields. I've tried to create a list item with the mandatory and lookup fields metadata and then, using the item ID (creating a FieldInformation field with the ID, as well as some other simple metadata), called the

Read keywords in xmp from png with Java

不羁的心 提交于 2019-12-12 05:27:56
问题 I am trying to get keywords added to a PNG image file in Photoshop using Java. I tried this method using the imageio in Java: http://johnbokma.com/java/obtaining-image-metadata.html However, all I get is the following: Format name: javax_imageio_png_1.0 <javax_imageio_png_1.0> <IHDR width="128" height="128" bitDepth="8" colorType="RGBAlpha" compressionMethod="deflate" filterMethod="adaptive" interlaceMethod="none"/> <cHRM whitePointX="31269" whitePointY="32899" redX="63999" redY="33001"