FG

Decoding base64 images and saving to a file

Fresh3 days ago
Mar 15, 202639538 views
Confidence Score0%
0%

Problem

I need to save a few base64 images from a web page to actual GIF and JPEG files on my hard drive. Is there a utility out there that can assist me? I've looked around and either I'm not seeing one or haven't figured out how to use one properly. In other words I'm looking to take the image embedded i…

Error Output

<img src="data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" class="info" id="ext-gen1128">

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Decoding base64 images and saving to a file

Low Risk

To save data url to a temporary file, you could use in Python 3.4:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment