Jump to content
Sign in to follow this  
MarkH1201

Unable to decode jpg stored as base64

Recommended Posts

I'm running a HttpPost script from our website to download photos.

The problem I am running into is that I can't get the .jpg images to load correctly.

The error message I receive is: It looks like we don't support this file format.

I've tried using the _base64.au3 file with no success. Example: $sDecode = _Base64Decode($sResponse); Response is specific image results

If anyone would be able to assist, I would greatly appreciate it.

Attached are:

HTTP Post.txt (All data from the website)

Image code.txt (A specific image results. This is what I am using to decode).

Thank You

HTTP Post Results.txt Image code.txt

Share this post


Link to post
Share on other sites

Would you mind posting that solution?  I would be interested to take a look, I have not used that before.

EDIT: I found certutil and can get it to work on my data - but not the sample you provided or slices of your full file.  Did you use different data or certain parameters?

Edited by Jfish

Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...