cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
guh950
Microsoft
Microsoft

Getting image size perfect for base64

So I've been running into a clipping issue with my base64-converted images. Some images are too large, some have too much quality, and some are the wrong extension for the application, and I'm trying to find a happy medium, a ballpark estimate of number of pixels LxW to streamline the base64 conversion process. Right now I'm randomly resizing the image or lowering quality, probably a little too aggressively, and doing everything through trial and error, which is time consuming and laborious (for something that doesn't add that much value to my PBI for the time spent on it). What pixel length x width should I be ballparking my images to, to make sure the base64 fits in the power BI column and doesn't clip out? Is it something like 32 x 32 pixels, or am I approaching this completely the wrong way with resizing images?

2 REPLIES 2
v-kalyj-msft
Community Support
Community Support

Hi @guh950 ,

Please see if this document is helpful: Storing Large Images In Power BI Datasets Chris Webb's BI Blog

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I'm familiar with this article, although storing large images in a separate table with indexing would work, I'd have to rework my data modeling to do that, as I am currently using a dimension table with a unique key column that connects to other tables.

Helpful resources

Announcements
August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors