Sharex: Add copy as base64

Created on 21 Dec 2016  路  11Comments  路  Source: ShareX/ShareX

Hello everyone,
Is it possible to add conversion in base64 in ShareX??
When you click on the image, three choices :

  • copy file
  • copy image
  • copy as base64

Thanks

Invalid

All 11 comments

Why would you need base64?

Base64 is very interesting, when you write a tutorial, or in a html report for scripts, you have one file, no more files.
I'm sure it will interest other people to add this feature.

I'm against using base64 for images. You can upload image to imgur and just use it in your html that way it will be still single file.

You are against, but what think other people about it?

it's used for inline images, handy for css designers
if anything, I'd like it as a ShareX tool, as I usually go to a website for it

otherwise, here's a custom uploader that will return base64 code instead of a url, use this with a workflow

{
  "Name": "base64",
  "RequestType": "POST",
  "RequestURL": "http://www.dailycoding.com/Utils/Converter/ImageToBase64.aspx",
  "FileFormName": "uploadFile",
  "ResponseType": "Text",
  "RegexList": [
    "<textarea class=\"form-control input-lg\" rows=\"6\">(.+)<\\/textarea>"
  ],
  "URL": "$regex:1,1$"
}

handy for css designers

Proper web designers won't use base64 image on css. It is very ugly thing to do. And I hate when I see people using base64 for uploading etc. because it just wasting bandwidth for no reason.

It's using the same amount of data
A png I'm base64 is the same size as it's original

It can't be same size.

Ahh yeah, that's correct, I was thinking the other way around

I use base64 when I create script for reporting...
Yes it is very ugly yo use it when you are developer 馃憤

I upvote this suggestion. I can save this into excel or google sheet cell as a text. I don't have to rely on any other service and have ALL my data in one spreadsheet which is very handy.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Stele77 picture Stele77  路  3Comments

Yandols picture Yandols  路  4Comments

nickodemos picture nickodemos  路  3Comments

wilandlane picture wilandlane  路  3Comments

Dyras picture Dyras  路  4Comments