After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783403 - Provide support for generation multi-page TIFF/PCX/PDF from single-page individual files
Provide support for generation multi-page TIFF/PCX/PDF from single-page indiv...
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: General
git master
Other All
: Normal enhancement
: Future
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2017-06-04 13:00 UTC by yousifjkadom
Modified: 2018-05-24 17:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description yousifjkadom 2017-06-04 13:00:26 UTC
Hi. I have, for example 200 individual .tiff files, & like to combine all of them into a single multi-page .tiff file. Currently this function (combine files) not available. Can you add it ?

I know that .tiff & .pcx could be multi-pages, but may be other format also accept being multi-pages ....

My suggestion is to:

1) add new function "combine to multi-page" allowing user to combine individual files into single multi-page file.

2) give support for all possible output formats that accept to be multi-pages. I mean by that allowing user to select any of formats (as she/he wish, like .tif, .tiff, .pcx, .pdf, ......other formats that I do not know) that accept to be multi-pages to be used as output format.

Best.
Comment 1 Jehan 2017-06-06 11:09:11 UTC
Hi,

Thanks for the report. For multi-page PDF, we have bug 382688 opened for this. There is even a patch already available, but it does not apply anymore. If someone fixes it so that it can at least apply to current master code, I will review it. It may even still be for GIMP 2.10!

I didn't know that TIFF and PCX could be multi-pages as well. According to Wikipedia though, multi-page PCX is a separate format: DCX
https://en.wikipedia.org/wiki/PCX

In any case, we are obviously interested by adding support for any new format or advanced features of existing formats, like multi-pages. We welcome patches! :-)
Comment 2 Joao S. O. Bueno 2017-06-06 15:14:34 UTC
However, it is not likely we are getting itnerface support to "convert to multipage file" from files in a folder. What is reasonable is that 
we can support any multi-page/multi-layer format and map those pages or layers into GIMP layers - both on importing and on exporting.

But there will be no operation tocombine them from disk into a single file in GIMP itself - at least not while we do not decide to allow for batch operations out-of-the-box.  The way to do it will be open your files as layers (Can "open as layers" open more than one file at once? If not, that is a very reasonable feature request) - and them export - and we could think of ways of reusing some UI code for plug-ins that allow multi-paged formats.
Comment 3 Jehan 2017-06-07 08:31:48 UTC
(In reply to Joao S. O. Bueno from comment #2)
> However, it is not likely we are getting itnerface support to "convert to
> multipage file" from files in a folder.

Joao is right. GIMP has no interface for browsing files (well except the GTK+ one when opening/saving/exporting).
When I wrote about multi-page support, I meant only exporting a multi-layered image into a multi-page file. This is indeed slightly different from the description (which is also interesting).

> while we do not decide to allow for batch operations out-of-the-box.

As far as I am concerned, I have absolutely nothing against a batch operation GUI in GIMP. Quite the opposite, I would find this very useful and totally fitting. I think we just need someone to contribute the right code for this.

> The way to do it will be open your files as
> layers (Can "open as layers" open more than one file at once? If not, that
> is a very reasonable feature request) - and them export - and we could think
> of ways of reusing some UI code for plug-ins that allow multi-paged formats.

You can select several files at once in the opening dialog box.
You can also drag'n drop several files at once above an existing image (you have to open the first layer, then the others. It's a 2-step process. See bug 760763).
Comment 4 Jehan 2017-06-14 23:30:15 UTC
So while I was reviewing a patch for file-pdf-save (bug 382688), I discover that we have already a pdb procedure exactly for this: file-pdf-save-multi.

This is for creating multi-page PDF from a list of separate images. In other words, if this procedure works correctly (I have not tested it, and it is not attached to a GUI right now), this is exactly what is needed to implement this feature. All it needs is a proper GUI to select files from a folder (note that it could also be used to export from opened images, etc.).

Just saying. If anyone is interested to work on this, that's a good hint.
Comment 5 yousifjkadom 2017-08-30 20:47:23 UTC
Hi. I saw change log of version 2.9.6 

There is following: - Add support for exporting multi-page PDF from image layers, with optional reversed order.

So, there are progression in PDF support ....

Please is this bug fixed or still undergo working ?

It is a remainder about not to forget this bug.

Best.
Comment 6 Jehan 2017-08-31 11:29:25 UTC
> So, there are progression in PDF support ....

Yes. A friend from LILA association has worked a bit on various PDF-related features and implemented these. If you want to help PDF support forward, LILA accepts donations: https://twitter.com/LILA_asso/status/902893789337047044

> Please is this bug fixed or still undergo working ?

Usually if a bug report is opened, it means it is still not fixed/implemented (even though we may forget that a bug report exists, it happens). So no, this specific feature from the current report is not implemented. The implemented multi-page export is using layers of a single image, whereas the current request wants to use many single layer images instead.

Nevertheless there is an ok workaround now:

- Open all your individual images as layers in a single image;
- export to multi-page PDF (I don't think we have support for multi-page for other formats yet).

> It is a remainder about not to forget this bug.

Unless last comments are year-old, it is preferred to avoid "bump" comments. These only make reports longer and difficult to follow.
Comment 7 yousifjkadom 2017-09-02 12:06:33 UTC
Sorry for that, but I did not understood change log. Moreover, I'm on Fedora Linux & have GIMP frpm repositories (version 2.8.22) & I have no experience with build from source so I can not examine version 2.9.6
Comment 8 GNOME Infrastructure Team 2018-05-24 17:54:25 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/1109.