<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [PATCH] Expose more image modes, add option to select mode in renderer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105558">105558</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[PATCH] Expose more image modes, add option to select mode in renderer
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>cpp frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hbotondzs@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=138157" name="attach_138157" title="The patch file">attachment 138157</a> <a href="attachment.cgi?id=138157&action=edit" title="The patch file">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=105558&attachment=138157'>[review]</a>
The patch file
Hello,
I needed some extra functionality what is available in the pdftoppm utility,
but there were some missing options in the image and the page_renderer classes
and I also added some small bugfixes.
On image I made the following modifications:
- new poppler::image modes
- corrected bytes_per_row for poppler::image::rgb24, new image modes added
- NetPBMWriter & save also handles new modes
On page_renderer:
- page_renderer_private got image_format and line_mode fields
- this two new property is exposed in a same way as paper_color and hints
- default values are the same as before
This is my first patch in this project, so please be gentle with me if I did
something wrong. :)
Thank you, have a nice day!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>