git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* clean/smudge filters for pdf files
@ 2008-10-23 19:44 Leo Razoumov
  2008-10-23 21:32 ` Pierre Habouzit
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Razoumov @ 2008-10-23 19:44 UTC (permalink / raw)
  To: git

I am trying to improve storage efficiency for PDF files in a git repo.
Following earlier discussions in this list I am trying to set up
proper clean/smudge filters. What follows is my current setup

# in ~/.gitconfig
[filter "pdf"]
	clean  = "pdftk - output - uncompress"
	smudge = "pdftk - output - compress"

# in .gitattributes
*.pdf filter=pdf

Unfortunately, it seems as though that pdftk uncompress followed by
pdftk compress do not leave the file invariant. I tried several
uncompress+compress iterations and the file still keep changing (the
size though stays the same).
Is there any other alternative way to store PDF files in git repo more
efficiently?
Any alternative to pdftk on Linux?

--Leo--

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-24  8:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-23 19:44 clean/smudge filters for pdf files Leo Razoumov
2008-10-23 21:32 ` Pierre Habouzit
2008-10-24  1:40   ` Leo Razoumov
2008-10-24  8:10     ` Michael J Gruber
2008-10-24  8:44     ` Michael J Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).