Git Product home page Git Product logo

xmp-docs's People

Contributors

akjain21 avatar angupt avatar ewalpole avatar filmaj avatar maupadhyay avatar noraacl avatar prigupta-adobe avatar priyanka-gupta avatar pulkitj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xmp-docs's Issues

reading and writing xmp meta into password protected pdf file.

Hi,
I want to check if xmp supports reading/writing metadata for password protected pdf file.

does xmp supports reading metadata for password protected pdf file, if yes then how?
if no, then is there any other API which supports the reading of metadata for password protected pdf file? (i want to do it programmatically using c++ code + i want free sdk/api)

XMP SDK properties do not match properties displayed in Adobe Reader

Sample PDF for testing: https://test.goca.io/pdf/sample_3.pdf.

If you load the sample pdf in Adobe Reader, and go to File > Properties, the properties displayed will be:
Title: PDF Metadata Sample
Author: Nigel Maddocks
Subject: Test Document
Keywords: 12345678

However, the Subject and Keywords properties are not the same when using the Adobe XMP SDK. For example, if you run the ReadingXMP sample, it will show the dc:subject as 12345678 (and it won't display any keywords).

add/delete xmp metadata to password protected pdf file

Hi,
I want to check xmp support for reading metadata for password protected pdf file

does xmp supports reading metadata for password protected pdf file, if yes then how?

if no, then is there any other API which supports the reading of metadata for password protected pdf file? (i want to do it programmatically using c++ code + i want free sdk/api)

Question about terminating libraries when using XMP in a Windows property handler

Hi, I was wondering if I could ask a question about using the XMP library. It seems that the XMP forum has been removed or something from the Adobe website.

I'm using the XMP SDK to implement in a Windows property handler. Basically I've created a COM class which is instantiated by Windows File Explorer whenever it encounters a PDF file. My class uses the XMP library to get and set metadata within each file that Explorer encounters.

In any event, I'm initializing the XMP Meta and File libraries within my class's constructor, which seems to work okay. However, when terminating those libraries within the destructor, I inevitably get an assertion errors and null pointer errors that crash the program. I'm not sure, but perhaps it's because File Explorer has created several instances of my class, and so terminating the libraries by one class leads to problems (just a guess).

So I was wondering if you had any input on where to properly terminate the XMP libraries when used by a property handler. Can they be terminated within DLLCanUnloadNow? Thanks for any input!

XMPFilesStatic Does Not Compile in Release Mode using VS Build Tools v142

I successfully compiled the XMP libraries using Visual Studio 2015, per the instructions. However, when I tried to use the compiled libraries in the release mode of my project in Visual Studio 2019, it said the libraries were created using an old compiler, so I needed to recompile them with a newer compiler.

So then I tried to compile the libraries in Visual Studio 2019, retargeting for the v142 toolset. But there's a compiler error:

C3848 expression having type 'const P2SpannedClip_Order' would lose some const-volatile qualifiers in order to call 'bool P2SpannedClip_Order::operator ()(P2_Clip *,P2_Clip *)' XMPFilesStatic C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\include\xtree 1685

From what I can gather, the problematic code in the XMP source is in P2_Support.cpp, at line 286:

P2_SpannedClip::P2_SpannedClip(const std::string & p2ClipMetadataFilePath):
	P2_Clip(p2ClipMetadataFilePath)
{
	P2_Clip* p2Clip= dynamic_cast<P2_Clip*>(this);
	spannedP2Clip.insert(p2Clip);
	if (p2Clip->GetClipId())
		addedClipIds.insert(*p2Clip->GetClipId());
}

Please help.

Is there a flag for being able to read XMP from an apparently protected PDF file?

Sometimes my XMP code cannot read from certain PDF files. Then, when I open the PDF file and do some sort of edit to it (like add a comment or something), my XMP code will be able to read. I'm wondering if the edit changes the security of the PDF. At any rate, is there any way for my code to read the metadata from the apparently locked or secured PDF file? Thanks for any help.

Just to clarify, OpenFile is working, but GetXMP is not (it's returning false).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.