Re: [EXTERNAL EMAIL] Re: ValueError: no memory after 4GB
Mark De Wit <[email protected]> Thu, 8 Apr 2021 15:27:59 +0000
| Newsgroups | gmane.comp.python.reportlab.user |
|---|---|
| Message-ID | <[email protected]> |
Some modern game engines use MegaTextures to enhance/describe the 3D environment, they are easily this kind of size (first iterations were 32'000 by 32'000, they're now up to 128k in size). The engine would use paging to manage memory consumption though... But from a reportlab perspective, it must be quite the PDF indeed! Mark -----Original Message----- From: reportlab-users <[email protected]> On Behalf Of Henning von Bargen Sent: 08 April 2021 16:16 To: [email protected] Subject: [EXTERNAL EMAIL] Re: [reportlab-users] ValueError: no memory after 4GB Shaw, Theodore wrote: > I'm trying to convert an SVG to a BMP that's about 100,000 pixels by > 100,000 pixels. My code looks like I'm just curious: WHY do you try to generate such a huge² image? I mean, practically every image viewer program would fail with OutOfMemory if a user wants to look at this image. Why don't you just keep the SVG? Just to demonstrate the dimension: Say, a colour laser printer uses 600 dpi (which is good enough for photos). Then printing your image in this natural dpi resolution would result in a 4.2 m x 4.2 m paper... I really cannot imagine a use-case... Henning _______________________________________________ reportlab-users mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/reportlab-users