* Free-/Open-Source-licensed JPG, JPG-XL, PNG, TIFF, PDF, PostScript files for print filter and OCR CI testing
@ 2025-02-17 14:05 Till Kamppeter
2025-02-17 16:40 ` Michael Sweet
0 siblings, 1 reply; 9+ messages in thread
From: Till Kamppeter @ 2025-02-17 14:05 UTC (permalink / raw)
To: OpenPrinting, UDDHAV PHATAK 22BCE10731, Titiksha Bansal
Hi,
recently, we added several testing facilities to OpenPrinting, but some of them,
especially those to test software to handle data which gets printed or which got
scanned, need sample files which can be shipped as a part of the source packages
of the component which includes its tests.
For this we need files of the formats JPG, JPG-XL, PNG, TIFF, PDF, PostScript,
and perhaps even Apple/PWG/CUPS Raster which are published under free licenses
so that we can include them. Ideally the files also come with different
properties, like grayscale, color, 8-, 16-bit, different resolutions, page
sizes, number of pages, ...
We appreciate a lot if somebody could suggest us suitable sources.
Note that the PWG source
https://ftp.pwg.org/pub/pwg/ipp/examples/
is not suitable, unfortunately, as there is no license. The README files only
mention the copyright holder but no license for them (my suggestionis that PWG
publishes sample files under free license).
Thanks in advance for any suggestion.
Till
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Free-/Open-Source-licensed JPG, JPG-XL, PNG, TIFF, PDF, PostScript files for print filter and OCR CI testing
2025-02-17 14:05 Free-/Open-Source-licensed JPG, JPG-XL, PNG, TIFF, PDF, PostScript files for print filter and OCR CI testing Till Kamppeter
@ 2025-02-17 16:40 ` Michael Sweet
2025-02-17 18:30 ` Till Kamppeter
0 siblings, 1 reply; 9+ messages in thread
From: Michael Sweet @ 2025-02-17 16:40 UTC (permalink / raw)
To: Till Kamppeter; +Cc: OpenPrinting, UDDHAV PHATAK 22BCE10731, Titiksha Bansal
Till,
The CUPS and PAPPL sources already have many of these test files provided under the Apache 2.0 license.
WRT the (legacy) PWG Raster sample files, these are companions to PWG 5102.4-2012 and are provided under the same terms as the standard itself:
Copyright © 2011-2012 The Printer Working Group. All rights reserved.
This document may be copied and furnished to others, and derivative works that comment
on, or otherwise explain it or assist in its implementation may be prepared, copied,
published and distributed, in whole or in part, without restriction of any kind, provided that
the above copyright notice, this paragraph and the title of the Document as referenced
below are included on all such copies and derivative works. However, this document itself
may not be modified in any way, such as by removing the copyright notice or references
to the IEEE-ISTO and the Printer Working Group, a program of the IEEE-ISTO.
There used to be a script in the ippsample project's "scripts" directory for creating a set of test files at a specific resolution, but since the self-certification tools no longer depend on these files (ipptool can generate PWG raster test content) I stopped maintaining it.
The libcups project includes the ipptransform tool, which can generate PDF, PWG Raster, Apple Raster, and PCL content at different resolutions from PNG, JPEG, PDF, and text input, and I can certainly revive that sample file script. I'm also happy to contribute sample images towards building up a repository of test files/templates that can be used for this testing.
For the purposes of testing:
- Media sizes: US Letter, US Legal, US Tabloid, US #10 envelope, 4x6 ("4R") photo, ISO A6, ISO A4, ISO A3, ISO DL envelope, Japanese Hagaki (postcard), JIS B5, Japanese Kakugata 7 envelope, Chinese 16k, and Chinese #3 envelope with a mix of portrait/landscape content as appropriate
- Content: Text, photos, graphics (graphs, drawings, etc.), barcodes (1D and 2D), color and gray scale charts; multi-page content for duplex/N-up testing
- Resolutions: 180, 203, 300, 360, 360x180, 600, 720, 1200, and 1440
- Color spaces: sGray, sRGB, AdobeRGB, Display P3 (RGB), Device (K, RGB, CMYK) with attached ICC profile (when applicable)
- Bit depths: 1-bit black, 8-bit for all, 16-bit for AdobeRGB, Display P3, and device color spaces
- Labeling: Copyright and license text and URL/QRCode on each page/image
- Fonts (PDF): Simple and composite fonts (for Unicode text), text content in the various languages we support.
> On Feb 17, 2025, at 9:05 AM, Till Kamppeter <till.kamppeter@gmail.com> wrote:
>
> Hi,
>
> recently, we added several testing facilities to OpenPrinting, but some of them, especially those to test software to handle data which gets printed or which got scanned, need sample files which can be shipped as a part of the source packages of the component which includes its tests.
>
> For this we need files of the formats JPG, JPG-XL, PNG, TIFF, PDF, PostScript, and perhaps even Apple/PWG/CUPS Raster which are published under free licenses so that we can include them. Ideally the files also come with different properties, like grayscale, color, 8-, 16-bit, different resolutions, page sizes, number of pages, ...
>
> We appreciate a lot if somebody could suggest us suitable sources.
>
> Note that the PWG source
>
> https://ftp.pwg.org/pub/pwg/ipp/examples/
>
> is not suitable, unfortunately, as there is no license. The README files only mention the copyright holder but no license for them (my suggestionis that PWG publishes sample files under free license).
>
> Thanks in advance for any suggestion.
>
> Till
>
>
________________________
Michael Sweet
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Free-/Open-Source-licensed JPG, JPG-XL, PNG, TIFF, PDF, PostScript files for print filter and OCR CI testing
2025-02-17 16:40 ` Michael Sweet
@ 2025-02-17 18:30 ` Till Kamppeter
2025-02-17 21:22 ` Michael Sweet
0 siblings, 1 reply; 9+ messages in thread
From: Till Kamppeter @ 2025-02-17 18:30 UTC (permalink / raw)
To: Michael Sweet; +Cc: OpenPrinting, UDDHAV PHATAK 22BCE10731, Titiksha Bansal
Thank you very much for your detailed reply.
On 2/17/25 17:40, Michael Sweet wrote:
> Till,
>
> The CUPS and PAPPL sources already have many of these test files provided under the Apache 2.0 license.
>
> WRT the (legacy) PWG Raster sample files, these are companions to PWG 5102.4-2012 and are provided under the same terms as the standard itself:
>
> Copyright © 2011-2012 The Printer Working Group. All rights reserved.
>
> This document may be copied and furnished to others, and derivative works that comment
> on, or otherwise explain it or assist in its implementation may be prepared, copied,
> published and distributed, in whole or in part, without restriction of any kind, provided that
> the above copyright notice, this paragraph and the title of the Document as referenced
> below are included on all such copies and derivative works. However, this document itself
> may not be modified in any way, such as by removing the copyright notice or references
> to the IEEE-ISTO and the Printer Working Group, a program of the IEEE-ISTO.
>
Is this a well-known free software/document license? And if yes, which one?
> There used to be a script in the ippsample project's "scripts" directory for creating a set of test files at a specific resolution, but since the self-certification tools no longer depend on these files (ipptool can generate PWG raster test content) I stopped maintaining it.
>
> The libcups project includes the ipptransform tool, which can generate PDF, PWG Raster, Apple Raster, and PCL content at different resolutions from PNG, JPEG, PDF, and text input, and I can certainly revive that sample file script.
Could you please do so?
> I'm also happy to contribute sample images towards building up a repository of test files/templates that can be used for this testing.
>
Could you also do so, too?
> For the purposes of testing:
>
> - Media sizes: US Letter, US Legal, US Tabloid, US #10 envelope, 4x6 ("4R") photo, ISO A6, ISO A4, ISO A3, ISO DL envelope, Japanese Hagaki (postcard), JIS B5, Japanese Kakugata 7 envelope, Chinese 16k, and Chinese #3 envelope with a mix of portrait/landscape content as appropriate
> - Content: Text, photos, graphics (graphs, drawings, etc.), barcodes (1D and 2D), color and gray scale charts; multi-page content for duplex/N-up testing
> - Resolutions: 180, 203, 300, 360, 360x180, 600, 720, 1200, and 1440
> - Color spaces: sGray, sRGB, AdobeRGB, Display P3 (RGB), Device (K, RGB, CMYK) with attached ICC profile (when applicable)
> - Bit depths: 1-bit black, 8-bit for all, 16-bit for AdobeRGB, Display P3, and device color spaces
> - Labeling: Copyright and license text and URL/QRCode on each page/image
> - Fonts (PDF): Simple and composite fonts (for Unicode text), text content in the various languages we support.
>
OK, great.
As JPEX-XL is a format which I am newly adding to the filters, how and where
could I obtain free sample images for that format?
Till
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Free-/Open-Source-licensed JPG, JPG-XL, PNG, TIFF, PDF, PostScript files for print filter and OCR CI testing
2025-02-17 18:30 ` Till Kamppeter
@ 2025-02-17 21:22 ` Michael Sweet
2025-02-17 21:48 ` Michael Sweet
2025-02-17 22:07 ` Till Kamppeter
0 siblings, 2 replies; 9+ messages in thread
From: Michael Sweet @ 2025-02-17 21:22 UTC (permalink / raw)
To: Till Kamppeter; +Cc: OpenPrinting, UDDHAV PHATAK 22BCE10731, Titiksha Bansal
Till,
> On Feb 17, 2025, at 1:30 PM, Till Kamppeter <till.kamppeter@gmail.com> wrote:
>> ...
>> to the IEEE-ISTO and the Printer Working Group, a program of the IEEE-ISTO.
>
> Is this a well-known free software/document license? And if yes, which one?
I don't think it is a well-known "license", however the terms match the Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0) license.
> ...
>> The libcups project includes the ipptransform tool, which can generate PDF, PWG Raster, Apple Raster, and PCL content at different resolutions from PNG, JPEG, PDF, and text input, and I can certainly revive that sample file script.
>
> Could you please do so?
OK, I'll set something up as a starting point...
> ...
> As JPEX-XL is a format which I am newly adding to the filters, how and where could I obtain free sample images for that format?
I suspect you'll need to generate them. I think ImageMagick supports conversion to the format, so that might be a way towards that goal. The libjxl project also includes a cjxl utility that can convert PNG files to JXL, and libjxl also provides a Gimp plugin...
________________________
Michael Sweet
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Free-/Open-Source-licensed JPG, JPG-XL, PNG, TIFF, PDF, PostScript files for print filter and OCR CI testing
2025-02-17 21:22 ` Michael Sweet
@ 2025-02-17 21:48 ` Michael Sweet
2025-02-17 22:00 ` Till Kamppeter
2025-02-19 1:35 ` Michael Sweet
2025-02-17 22:07 ` Till Kamppeter
1 sibling, 2 replies; 9+ messages in thread
From: Michael Sweet @ 2025-02-17 21:48 UTC (permalink / raw)
To: Till Kamppeter; +Cc: OpenPrinting, UDDHAV PHATAK 22BCE10731, Titiksha Bansal
Till,
I created an OpenPrinting project to hold the sample files:
https://github.com/OpenPrinting/sample-files
> On Feb 17, 2025, at 4:22 PM, Michael Sweet <msweet@msweet.org> wrote:
>
> Till,
>
>> On Feb 17, 2025, at 1:30 PM, Till Kamppeter <till.kamppeter@gmail.com> wrote:
>>> ...
>>> to the IEEE-ISTO and the Printer Working Group, a program of the IEEE-ISTO.
>>
>> Is this a well-known free software/document license? And if yes, which one?
>
> I don't think it is a well-known "license", however the terms match the Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0) license.
>
>> ...
>>> The libcups project includes the ipptransform tool, which can generate PDF, PWG Raster, Apple Raster, and PCL content at different resolutions from PNG, JPEG, PDF, and text input, and I can certainly revive that sample file script.
>>
>> Could you please do so?
>
> OK, I'll set something up as a starting point...
>
>> ...
>> As JPEX-XL is a format which I am newly adding to the filters, how and where could I obtain free sample images for that format?
>
> I suspect you'll need to generate them. I think ImageMagick supports conversion to the format, so that might be a way towards that goal. The libjxl project also includes a cjxl utility that can convert PNG files to JXL, and libjxl also provides a Gimp plugin...
>
> ________________________
> Michael Sweet
>
>
________________________
Michael Sweet
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Free-/Open-Source-licensed JPG, JPG-XL, PNG, TIFF, PDF, PostScript files for print filter and OCR CI testing
2025-02-17 21:48 ` Michael Sweet
@ 2025-02-17 22:00 ` Till Kamppeter
2025-02-19 1:35 ` Michael Sweet
1 sibling, 0 replies; 9+ messages in thread
From: Till Kamppeter @ 2025-02-17 22:00 UTC (permalink / raw)
To: Michael Sweet; +Cc: OpenPrinting, UDDHAV PHATAK 22BCE10731, Titiksha Bansal
On 2/17/25 22:48, Michael Sweet wrote:
> Till,
>
> I created an OpenPrinting project to hold the sample files:
>
> https://github.com/OpenPrinting/sample-files
Thank you very much!
Till
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Free-/Open-Source-licensed JPG, JPG-XL, PNG, TIFF, PDF, PostScript files for print filter and OCR CI testing
2025-02-17 21:22 ` Michael Sweet
2025-02-17 21:48 ` Michael Sweet
@ 2025-02-17 22:07 ` Till Kamppeter
[not found] ` <CAFRVfnNtPwSR--HLfSDFLfd9Z5V02JSMn4OUk1VWwQ60KRco3w@mail.gmail.com>
1 sibling, 1 reply; 9+ messages in thread
From: Till Kamppeter @ 2025-02-17 22:07 UTC (permalink / raw)
To: Michael Sweet; +Cc: OpenPrinting, UDDHAV PHATAK 22BCE10731, Titiksha Bansal
On 2/17/25 22:22, Michael Sweet wrote:
> Till,
>
>> On Feb 17, 2025, at 1:30 PM, Till Kamppeter <till.kamppeter@gmail.com> wrote:
>>> ...
>>> to the IEEE-ISTO and the Printer Working Group, a program of the IEEE-ISTO.
>>
>> Is this a well-known free software/document license? And if yes, which one?
>
> I don't think it is a well-known "license", however the terms match the Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0) license.
>
OK, thanks. Should be good enough for sample content, but I will also ask my
colleagues.
>> ...
>> As JPEX-XL is a format which I am newly adding to the filters, how and where could I obtain free sample images for that format?
>
> I suspect you'll need to generate them. I think ImageMagick supports conversion to the format, so that might be a way towards that goal. The libjxl project also includes a cjxl utility that can convert PNG files to JXL, and libjxl also provides a Gimp plugin...
>
OK, so we will take some high-color-depth PNG or so to turn it into JXL ...
Thank you very much.
Till
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Free-/Open-Source-licensed JPG, JPG-XL, PNG, TIFF, PDF, PostScript files for print filter and OCR CI testing
[not found] ` <CAFRVfnNtPwSR--HLfSDFLfd9Z5V02JSMn4OUk1VWwQ60KRco3w@mail.gmail.com>
@ 2025-02-18 3:19 ` UDDHAV PHATAK 22BCE10731
0 siblings, 0 replies; 9+ messages in thread
From: UDDHAV PHATAK 22BCE10731 @ 2025-02-18 3:19 UTC (permalink / raw)
To: Till Kamppeter; +Cc: Michael Sweet, OpenPrinting, Titiksha Bansal
Thank you very much for your support Till and Micheal.
On Tue, Feb 18, 2025 at 7:05 AM UDDHAV PHATAK 22BCE10731
<uddhavphatak2022@vitbhopal.ac.in> wrote:
>
> Thank you Till and Micheal
>
> On Tue, 18 Feb, 2025, 3:37 am Till Kamppeter, <till.kamppeter@gmail.com> wrote:
>>
>> On 2/17/25 22:22, Michael Sweet wrote:
>> > Till,
>> >
>> >> On Feb 17, 2025, at 1:30 PM, Till Kamppeter <till.kamppeter@gmail.com> wrote:
>> >>> ...
>> >>> to the IEEE-ISTO and the Printer Working Group, a program of the IEEE-ISTO.
>> >>
>> >> Is this a well-known free software/document license? And if yes, which one?
>> >
>> > I don't think it is a well-known "license", however the terms match the Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0) license.
>> >
>>
>> OK, thanks. Should be good enough for sample content, but I will also ask my
>> colleagues.
>>
>> >> ...
>> >> As JPEX-XL is a format which I am newly adding to the filters, how and where could I obtain free sample images for that format?
>> >
>> > I suspect you'll need to generate them. I think ImageMagick supports conversion to the format, so that might be a way towards that goal. The libjxl project also includes a cjxl utility that can convert PNG files to JXL, and libjxl also provides a Gimp plugin...
>> >
>>
>> OK, so we will take some high-color-depth PNG or so to turn it into JXL ...
>>
>> Thank you very much.
>>
>> Till
>>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Free-/Open-Source-licensed JPG, JPG-XL, PNG, TIFF, PDF, PostScript files for print filter and OCR CI testing
2025-02-17 21:48 ` Michael Sweet
2025-02-17 22:00 ` Till Kamppeter
@ 2025-02-19 1:35 ` Michael Sweet
1 sibling, 0 replies; 9+ messages in thread
From: Michael Sweet @ 2025-02-19 1:35 UTC (permalink / raw)
To: Till Kamppeter; +Cc: OpenPrinting, UDDHAV PHATAK 22BCE10731, Titiksha Bansal
All,
I have started adding some test documents to the repository, starting with some JPEG and PNG photo test files.
> On Feb 17, 2025, at 4:48 PM, Michael Sweet <msweet@msweet.org> wrote:
>
> Till,
>
> I created an OpenPrinting project to hold the sample files:
>
> https://github.com/OpenPrinting/sample-files
>
>
>> On Feb 17, 2025, at 4:22 PM, Michael Sweet <msweet@msweet.org> wrote:
>>
>> Till,
>>
>>> On Feb 17, 2025, at 1:30 PM, Till Kamppeter <till.kamppeter@gmail.com> wrote:
>>>> ...
>>>> to the IEEE-ISTO and the Printer Working Group, a program of the IEEE-ISTO.
>>>
>>> Is this a well-known free software/document license? And if yes, which one?
>>
>> I don't think it is a well-known "license", however the terms match the Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0) license.
>>
>>> ...
>>>> The libcups project includes the ipptransform tool, which can generate PDF, PWG Raster, Apple Raster, and PCL content at different resolutions from PNG, JPEG, PDF, and text input, and I can certainly revive that sample file script.
>>>
>>> Could you please do so?
>>
>> OK, I'll set something up as a starting point...
>>
>>> ...
>>> As JPEX-XL is a format which I am newly adding to the filters, how and where could I obtain free sample images for that format?
>>
>> I suspect you'll need to generate them. I think ImageMagick supports conversion to the format, so that might be a way towards that goal. The libjxl project also includes a cjxl utility that can convert PNG files to JXL, and libjxl also provides a Gimp plugin...
>>
>> ________________________
>> Michael Sweet
>>
>>
>
> ________________________
> Michael Sweet
>
>
________________________
Michael Sweet
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-02-19 1:35 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17 14:05 Free-/Open-Source-licensed JPG, JPG-XL, PNG, TIFF, PDF, PostScript files for print filter and OCR CI testing Till Kamppeter
2025-02-17 16:40 ` Michael Sweet
2025-02-17 18:30 ` Till Kamppeter
2025-02-17 21:22 ` Michael Sweet
2025-02-17 21:48 ` Michael Sweet
2025-02-17 22:00 ` Till Kamppeter
2025-02-19 1:35 ` Michael Sweet
2025-02-17 22:07 ` Till Kamppeter
[not found] ` <CAFRVfnNtPwSR--HLfSDFLfd9Z5V02JSMn4OUk1VWwQ60KRco3w@mail.gmail.com>
2025-02-18 3:19 ` UDDHAV PHATAK 22BCE10731
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.