bgrabitmap / lazpaint

🎨 Cross-platform image editor with raster and vector layers similar to Paint.Net written in Lazarus (Free Pascal)
https://lazpaint.github.io/
GNU General Public License v3.0
406 stars 57 forks source link

Can't load SVG into LazPaint #95

Closed lainz closed 5 years ago

lainz commented 5 years ago

Hi, I can't load this SVG file into LazPaint, maybe because it has CSS inside? flores.zip

lainz commented 5 years ago

Hi again, seems that is not related with the CSS properties, here is the same image without CSS. flores_nocss.zip

circular17 commented 5 years ago

Hi

What is the error ?

lainz commented 5 years ago

TBGRAWinBitmap.ReallocBitmap: Windows Error 87

lainz commented 5 years ago

I found a solution, it does not works when using the lazpaint "image explorer" that has at the right the full view of the image.

But if I change to thumbnails "big icons", it works and I can open the image.

The shapes looks fine, but the normal lines look thiker.

circular17 commented 5 years ago

Hmmm, could be related to its size then

lainz commented 5 years ago

Yes, its an A4 page, with 300 dpi.

circular17 commented 5 years ago

Ok. Fixed on dev branches of bgrabitmap and lazpaint