mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
PdfDraw: Minor improvement of JPEGDraw
git-svn-id: svn://ultimatepp.org/upp/trunk@11773 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a01b3a4e85
commit
10ef7e047f
2 changed files with 6 additions and 2 deletions
|
|
@ -165,7 +165,7 @@ Image RichPNG::ToImage(const Value& data, Size sz, void *) const
|
|||
if(IsString(data)) {
|
||||
ImageAnyDraw iw(sz);
|
||||
Paint(data, iw, sz);
|
||||
return iw;
|
||||
return iw;
|
||||
}
|
||||
Image x = Image(data);
|
||||
Size outsz(min(sz.cx, 4 * x.GetWidth()), min(sz.cy, 4 * x.GetHeight()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue