Feedback on NI Community

cancel
Showing results for 
Search instead for 
Did you mean: 

Limitation of Image Size at Example Code Exchange

Solved!
Go to solution

I'd like to share my example code at Example Code Exchange. When I tried to insert an image,

Image upload errors too-big

error occurred.

size error.PNG

 

The image was generated by "Export Simplified Image" method on LabVIEW, "image.bmp" and the size was 566KB. I attached the file.

 

OK ok... My another picture which size was 4KB (image.png) was uploaded with no error.

I couldn't find the limitation at this moment, is there size limitation?

Example Programs Style Guidelines - NI Community 

 

Cannot upload generated image by LabVIEW is troublesome for me...

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 1 of 8
(3,558 Views)

I don't know of a specific size limitation.  But historically BMP images were banned on the forums because they were unnecessarily larger than JPEGs, or PNGs.  So maybe the error message is based on the fact it is a bitmap.

 

There might be a difference between the forums and the code exchange boards, but I do know people have put up multiple MB JPEGs when they took high resolution pictures of their computer monitor.  And despite the high resolution, those pictures are often still impossible to read when compared to a 10's of kB PNG screenshot.

0 Kudos
Message 2 of 8
(3,452 Views)

Hi RavensFan,

Existing the limitation on Example Code Exchange is a reason why I'm asking.

LabVIEW generates BMP image by "Export Simplified Image" from right click menu on front panel.

Because BMP is default in LabVIEW, I hope the page also allow the file format.
Otherwise, please add "PNG" option in LabVIEW as below.

Export Simplified Image to PNG

 

I'd like to know

  • BMP is not allowed?
  • If allowed, please share the size of limitation
Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 3 of 8
(3,384 Views)

@Tepig wrote:

LabVIEW generates BMP image by "Export Simplified Image" from right click menu on front panel.


Use the Code Capture Tool instead.  It makes snippets!


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 8
(3,353 Views)

Hi crossrulz, thanks for your suggestion. I'll try the tool later.

It looks nice tool.

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 5 of 8
(3,135 Views)
Solution
Accepted by Tepig

Hi Emboar,

I apologize for the delayed response. There is a size limitation of 5012KB. However, the issue you are running into is the file extension. BMP files are not supported in the community.

 

 


Best Regards,
Kristi Martinez
NI Community Support
0 Kudos
Message 6 of 8
(2,859 Views)

Hi Kristi_Martinez, thanks for your reply. I understood the situation.

I think the error message is not correct.

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 7 of 8
(2,834 Views)

"Size" is a vague term for image attachments. I guess you are talking about the file size on disk.

 

What about the max dimensions? (In a highly compressed scenario, one could have a png file of a few kB, but with a 100000x100000 size.) What are the dimension limits?

0 Kudos
Message 8 of 8
(2,820 Views)