metadata

removing 'Program Name' in metadata for images [closed]

扶醉桌前 提交于 2019-12-06 02:26:33
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 22 days ago . In Windows file properties, it's called 'Program Name' under Origin. In Adobe Bridge, it's called 'Application' under File Properties. I believe it adds the name of the program used to create the file. It cannot be edited/removed in Bridge or Windows. I really don't understand how it gets added because certain

Postgres: show inherited fields

孤街醉人 提交于 2019-12-06 02:21:33
What query should I implement to get columns that are inherited? Having read this comprehensive post didn't find the solution. If I understand correctly, you want to know the names of the columns that are part of an inheritance between tables. SELECT nmsp_parent.nspname AS parent_schema, parent.relname AS parent_table, nmsp_child.nspname AS child_schema, child.relname AS child_table, column_parent.attname AS column_parent_name FROM pg_inherits JOIN pg_class parent ON pg_inherits.inhparent = parent.oid JOIN pg_class child ON pg_inherits.inhrelid = child.oid JOIN pg_namespace nmsp_parent ON nmsp

xCode Sqlite Database Creation Without Z_METADATA

送分小仙女□ 提交于 2019-12-06 01:33:53
When my sqlite database is created using a core data model, at this line: if (![persistentStoreCoordinator_ addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options:options error:&error]) I get an error: NSUnderlyingException=I/O SQLite error code:1, 'no such table: Z_METADATA' Any idea how to fix this? I've been trying for days. The database is created and copied into the documents directory on my device. Note: If I DELETE the application, rebuild, and install on my device - the .sqlite file is dated two days ago and the .mom file is dated yesterday. Is the database

ASP.NET MVC 2 - Implementing custom Metadata and Validator Providers

自作多情 提交于 2019-12-06 00:27:34
With the preview 2 release of ASP.NET MVC 2 , we now have base classes to implement our own custom providers for metadata and validation. Specifically, with ModelMetadataProvider and ModelValidatorProvider . There isn't a lot of documentation on these yet (just released yesterday as a preview , so I'm neither surprised nor disappointed). Has anyone gotten custom implementations of either of these working? A very simple example (metadata and validator for just "Required") would be great! Perhaps a lot of people have the same idea, but I'd like to use IronRuby to inject the metadata, and I'm

Android: Read and Write .mp4 metadata -Tag

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-06 00:16:38
问题 I want to read and edit(Write) the mp4 metadata. Particularly I want to read/write Tag metadata in android as shown in below picture. I searched for this on internet and found mp4Parser, but I think mp4Parser don't write Title Keyword. For .jpg file we use XPKeyword metadata which represents title. So same way how to do same for .mp4 file. 回答1: The Android SDK contains the class MediaMetadataRetriever to retrieve all the metadata values inside your file, you can read more about MetaData

Face tagging information and photo metadata

青春壹個敷衍的年華 提交于 2019-12-05 23:44:21
问题 Is there a standard way to read/write face-tags from/into photo meta-data? Can I use it to import face-tagging information from popular photo organizers? 回答1: Yes. Metadata Working Group (i.e. Adobe, Microsoft, Sony, Nokia, and others) has developed a standard extension of XMP to do that, see Image Region Metadata Section 5.9 in the Metadata Working Group Spec. Another extension of XMP has been done by Microsoft for Windows Live Photo Gallery and is supported by .NET API. See People Tagging

SQL Server 2005 metadata search to get stored procedure parameters

自闭症网瘾萝莉.ら 提交于 2019-12-05 22:19:33
How do you get a list of the input parameters for a stored procedure using metadata in SQL Server 2005? I want to do a SELECt on it and then iterate through the variable names. start here select * from information_schema.PARAMETERS where SPECIFIC_NAME = 'YourStoredProcedureName' order by ORDINAL_POSITION look for parameter_name, data_type, parameter_mode SQL-Server native way: select type_name(system_type_id) as type_name , parameter_id , name , max_length from sys.parameters where object_id = object_id(N'{schema}.{name}'); Kick ass!!!!! I was using it to generate ADO parameters for classic

Using Conditional Random Fields for Named Entity Recognition

混江龙づ霸主 提交于 2019-12-05 22:11:54
问题 What is Conditional Random Field ? How does exactly Conditional Random Field identify proper names as person, organization, or place in a structured or unstructured text? For example: This product is ordered by StackOverFlow Inc. What does Conditional Random Field do to identify StackOverFlow Inc. as an organization? 回答1: A CRF is a discriminative, batch, tagging model, in the same general family as a Maximum Entropy Markov model. A full explanation is book-length. A short explanation is as

How to grab the title + images of a link when posting sharing a link

大兔子大兔子 提交于 2019-12-05 21:53:07
I was wondering how to reproduce in PHP the comportment on Facebook: When you share a link, it grabs the title of the page, and it automatically grabs the images from the page to decorate the link. Is there anything already done like a plugin i can take a look at ? Thank you. use PHP DOM classes to pull url content and parse the html to grab first <img> url and <h1> text. UPDATE use the DOM loadHTMLFile method to load the file into a DOMDocument object. http://www.php.net/manual/en/domdocument.loadhtmlfile.php use the DOM getELementsByTagName method to get the node contents. http://www.php.net

Get file owner metadata information with java

泪湿孤枕 提交于 2019-12-05 21:03:06
I am trying to retrieve the owner of a file, using this code: Path file = Paths.get( fileToExtract.getAbsolutePath() ); PosixFileAttributes attr = Files.readAttributes(file, PosixFileAttributes.class); //line that throws exception System.out.println(attr.owner.getName()); taken from oracle's page ( http://docs.oracle.com/javase/tutorial/essential/io/fileAttr.html ) but i always get a UnsupportedOperationException at the line i indicate above. java.lang.UnsupportedOperationException at sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:192) at java.nio.file.Files