Convert JATS to WEBP
Turn JATS files into WEBP files. Typeset in Libertinus Serif with code in DejaVu Sans Mono on A4 pages unless page_size says letter, with headings, lists, tables, links, footnotes and math.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop JATS files on the dialor turn it to pick what to do
An article as one WebP image per page.The text is typeset and drawn at 150 dpi. Each page becomes its own file.
What you get
Each page of the typeset article becomes one WebP, at 150 dpi and quality 90 unless you ask for something else. The pages are A4 unless you set Page size to Letter.
The article is set in Libertinus Serif, with code in DejaVu Sans Mono. Headings, lists, tables, links, footnotes and math are kept.
The reference list is printed again from its records in Chicago author-date style, sorted by author. Citations in the text keep the labels they had.
What it leaves behind
Journal details, affiliations and keywords are dropped. Boxed text becomes plain paragraphs.
Figures and supplementary files stay as links to files that were not uploaded, so the pictures themselves do not appear on the pages.
Options for the pages
Set Resolution (dpi) between 36 and 600. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.
Set Lossless to keep text edges exact. The result is much bigger than a lossy one. Without it, Quality sets how much detail is kept, from 1 to 100. Above 90 the file grows quickly while the picture barely changes.
Set Pages to convert only some pages, such as 1-3,7. Set Page size to Auto to let each page take the size of its own content.
Set Width (px) for an exact width. It stops at 16383 pixels, the most WebP holds on a side. The height follows the aspect ratio unless you also give it, which can stretch the picture. To change the size of an existing WebP, see resize WEBP.
JATS and WEBP.What each format is, and the options this conversion takes.
- 01 · dpi
Resolution (dpi)
How many pixels each inch of the page becomes when it is drawn as a picture. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.
36 to 600 default 150 - 02 · lossless
Lossless
Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.
- 03 · page_size
Page size
The size of the pages written. A4 is the standard in most of the world and Letter in North America.
a4210 × 297 mm.letter8.5 × 11 in.autoEach page takes the size of its own content.
- 04 · pages
Pages
Converts only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.
- 05 · quality
Quality
How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
1 to 100 default 90 - 06 · width
Width (px)
The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 16383
The formats
JATS Article
Journal Article Tag Suite XML, the format of journal articles in PubMed Central and many publishers' archives.
- Extensions
- .nxml .jats
- MIME type
- application
/jats +xml - Kind
- Text and data
WebP
Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.
- Extensions
- .webp
- MIME type
- image
/webp - Kind
- Images
In your code.The same JATS to WEBP conversion through the API, for your app or your agent.
$ cv convert report.nxml report/ --to webp$ cv convert report.nxml report/ --to webpQuestions.What people ask about JATS to WEBP.
Several. Each page becomes one WebP, so a long article gives you one file per page.
No. It is printed again from its records in Chicago author-date style and sorted by author. Citations in the text keep the labels they had.
No. Figures and supplementary files stay as links to files that were not uploaded.
Set Lossless, which keeps text edges exact. You can also raise Resolution (dpi), for example to 300 for print.