Export plan to image plugin creating empty png

This topic has been viewed 5057 times and has 3 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
DavyR
Posts: 9
Joined: Thu Feb 24, 2022 8:30 am
Country: South Africa

Export plan to image plugin creating empty png

Post by DavyR »

I am on version 7.4.1 of Sweet Home on a Mac M1, and have installed ver 1.0.2 of the Export Plan to Image plugin ExportPlanImage-1.0.2.sh3p.

When used, the plugin creates a zero byte png file in the destination folder (/Users/m1/Library/Containers/com.eteks.sweethome3d.SweetHome3D/Data) and a .tmp file in the /Data/tmp folder.

Manually changing the tmp file extension to .png results in a fully functional image.

Can anyone shed light on how I can fix this?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Export plan to image plugin creating empty png

Post by Puybaret »

I tried again ExportPlanImage-1.0.2.sh3p plug-in with Sweet Home 3D 7.4.1 on a MacBook Air M1 and I didn't encounter any issue.
Did you get any error message?
How large is the exported file found in tmp folder?
Emmanuel Puybaret, Sweet Home 3D creator
DavyR
Posts: 9
Joined: Thu Feb 24, 2022 8:30 am
Country: South Africa

Re: Export plan to image plugin creating empty png

Post by DavyR »

No error message.
I typically export at 2000px and the file in the tmp folder is around 400kb.

In case its relevant I'm on Sonoma 14.5, and have the following plugins installed:
- Change color
- Export plan to Image
Multiplier
Pan in 3d view
Plan rotator
Plugins manager
SVG tuner
Staircase generator
Wirings
de.starrunner.sweethome
PeterW
Posts: 8
Joined: Thu Apr 17, 2025 7:17 pm
Country: USA

Re: Export plan to image plugin creating empty png

Post by PeterW »

I just ran into this bug on a fairly large image. Reducing the image size from 10,000 pix down to under 9,000 fixed it in my case, although for some reason the .png files save with black backgrounds when opened, plain in the preview, doesn't happen all the time, and only with png not jpg
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests