PdfDraw: Minor improvement of JPEGDraw

git-svn-id: svn://ultimatepp.org/upp/trunk@11773 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-02-09 22:52:45 +00:00
parent a01b3a4e85
commit 10ef7e047f
2 changed files with 6 additions and 2 deletions

View file

@ -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()));