Bug#1050005: ITP: pdftopng -- Convert PDF to PNG

2023-08-25 Thread Elena ``of Valhalla''


You're right, I thought I remembered this to be just a python wrapper
around pdftoppm, so I didn't see a reason to patch camelot-py to avoid
this package, but I've now looked at it in more detail and realized that
it would probably have to be patched to use the original pdftoppm rather
than their own patched version, so there is no real point to this.

And for some reason, camelot-py is using it through subprocess rather
than using the python library, so I hope that maintaining the patches
isn't going to be too problematic .
-- 
Elena ``of Valhalla''



Bug#1050005: ITP: pdftopng -- Convert PDF to PNG

2023-08-22 Thread Peter Pentchev
On Tue, Aug 22, 2023 at 01:24:42PM +0200, Mathieu Malaterre wrote:
> On Fri, Aug 18, 2023 at 1:19 PM Marvin Renich  wrote:
> >
> > * Elena Grandi  [230818 05:27]:
> > > Package: wnpp
> > > Severity: wishlist
> > > Owner: Elena Grandi 
> > >
> > > * Package name: pdftopng
> > >   Description : Convert PDF to PNG
> > >
> > > A command line tool and python library to convert PDFs to PNGs, based on
> > > pdftoppm from poppler.
> 
> uh ?
> 
> % pdftoppm -h 2>&1| grep png
>   -png : generate a PNG file
> 
> > > This is a dependency of camelot-py (#1049944) and I intend to maintain
> > > it in the Python Team.
> >
> > Does pdftocairo from the poppler-utils package do what you need?  If
> > not, would it make sense to submit patches to add pdftopng to the
> > poppler-utils package instead of creating a separate package for it?
> 
> ...or at least document why pdftoppm is not suitable.

I would imagine, since the original ITP also mentioned a Python project
that requires this package, that the "Python library" part may be
important: the upstream authors of the other project may have
decided to use it, as a Python library, instead of fiddling with
child process management by themselves.

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.net r...@debian.org p...@storpool.com
PGP key:http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13


signature.asc
Description: PGP signature


Bug#1050005: ITP: pdftopng -- Convert PDF to PNG

2023-08-22 Thread Mathieu Malaterre
On Fri, Aug 18, 2023 at 1:19 PM Marvin Renich  wrote:
>
> * Elena Grandi  [230818 05:27]:
> > Package: wnpp
> > Severity: wishlist
> > Owner: Elena Grandi 
> >
> > * Package name: pdftopng
> >   Description : Convert PDF to PNG
> >
> > A command line tool and python library to convert PDFs to PNGs, based on
> > pdftoppm from poppler.

uh ?

% pdftoppm -h 2>&1| grep png
  -png : generate a PNG file

> > This is a dependency of camelot-py (#1049944) and I intend to maintain
> > it in the Python Team.
>
> Does pdftocairo from the poppler-utils package do what you need?  If
> not, would it make sense to submit patches to add pdftopng to the
> poppler-utils package instead of creating a separate package for it?

...or at least document why pdftoppm is not suitable.



Bug#1050005: ITP: pdftopng -- Convert PDF to PNG

2023-08-18 Thread Marvin Renich
* Elena Grandi  [230818 05:27]:
> Package: wnpp
> Severity: wishlist
> Owner: Elena Grandi 
> 
> * Package name: pdftopng
>   Description : Convert PDF to PNG
> 
> A command line tool and python library to convert PDFs to PNGs, based on
> pdftoppm from poppler.
> 
> This is a dependency of camelot-py (#1049944) and I intend to maintain
> it in the Python Team.

Does pdftocairo from the poppler-utils package do what you need?  If
not, would it make sense to submit patches to add pdftopng to the
poppler-utils package instead of creating a separate package for it?

Just a suggestion.

...Marvin



Bug#1050005: ITP: pdftopng -- Convert PDF to PNG

2023-08-18 Thread Elena Grandi
Package: wnpp
Severity: wishlist
Owner: Elena Grandi 
X-Debbugs-Cc: debian-de...@lists.debian.org

* Package name: pdftopng
  Version : 0.2.3
  Upstream Contact: Vinayak Mehta 
* URL : https://github.com/vinayak-mehta/pdftopng
* License : GPLv2
  Programming Lang: C, Python, C++
  Description : Convert PDF to PNG

A command line tool and python library to convert PDFs to PNGs, based on
pdftoppm from poppler.

This is a dependency of camelot-py (#1049944) and I intend to maintain
it in the Python Team.