Skip to main content

All Questions

Tagged with
1 vote
1 answer
143 views

Genexus Blob from Base64 - How to generate &File or put it on Screen wtih GX?

I have a Base64 String (image, png), and i can't show it on screen with &Blob variable on GeneXus. And i can't populate a &File variable with this &Blob. Example: (The blob is a orange ...
Gustavo Merg's user avatar
0 votes
0 answers
32 views

Problem Loading Binary File Into MySQL BLOB

I need help loading binary data from a file into MySQL (M)BLOB field. Windows 10 and XAMPP. I get a strange screen full of errors when I try to load a .bin file into MySQL database MBLOB field using ...
theDickChuck's user avatar
0 votes
0 answers
14 views

Unzipping files using JSZIP and useState

Why is my State not updating correctly? My goal was to load files from zip file stored in db to my "Dropbox" clone. Unfortunately I got only last file of zip to load: zipContent.forEach((...
JJacob's user avatar
  • 1
1 vote
2 answers
88 views

Cache local File/Image in RAM

The setup I am working on a vuejs WebApp that loads and displays a lot of images (~10-20k). These images are opened from a network drive. When the user opens a folder from that drive I collect all ...
LemonGraZ's user avatar
1 vote
3 answers
2k views

Setting file size on the file constructor

Is there a way we could set the size property of the File object. I will be getting the size as number from the api. This is what I tried, const file = new File([''], filename , { size: 100 }) This ...
user avatar
1 vote
1 answer
595 views

Javascript set lastModified date of image file

For example using the code found here: https://stackoverflow.com/a/62189458 I tried to change to this: const file = new File([blob], fileName, { type: contentType, lastModified: 5000000 }) Looking at ...
NA NA's user avatar
  • 11
0 votes
0 answers
104 views

Reading byte file from DB2 stored procedure

I'm new to DB2 stored procedures, but I've used IBM data studio to write a stored procedure that exports the content of a table that includes a Blob field to a flat file (using UTL_FILE) - which works ...
Cammy's user avatar
  • 1
1 vote
1 answer
97 views

How can I write a multiline string into a file without adding characters to the string?

I have a JavaScript function where I'm trying to write a PowerShell script to a PowerShell file. This is the function: const script = `$Win32Product= Get-WmiObject -Class Win32_Product | Where Name -...
TheStranger's user avatar
  • 1,537
1 vote
1 answer
961 views

Download image from blob url

I need to download an image from a blob url. I try using those solution, but none of them worked for me: Flutter WebView blob pdf download https://github.com/guoguoguilai/flutter-webview-blob-download ...
Velliane's user avatar
1 vote
0 answers
34 views

Send document to client server from .net server

I have an API that offers a file translation service. I have been able to generate a new the new translated file but I have not been able to get it to the client correctly, because the document ...
Emili Bellot Pulido's user avatar
0 votes
1 answer
191 views

Is there a way to put a javascript-made file (blob) automatically into a file upload value

I was trying to code a system where a javascript made file would be put into a form where it could be submitted, but I could not a find a way how to do it I tried putting the file variable into the ...
user20955196's user avatar
0 votes
1 answer
177 views

How do I await a .wasm (WebAssembly file) from a Rest API?

I am making a Next.js app that has a page that connects to a REST API. The REST API simply spits out a raw .wasm (WebAssembly) file. I know that sounds atypical but it's 100% necessary for my app. I ...
ChristianOConnor's user avatar
1 vote
2 answers
784 views

Combine video and audio files together using JavaScript?

Let's say I have two files video.webm and audio.webm. These two files are supposed to be one file combined together, which will become a 'regular' video + audio file. Is this possible using JavaScript?...
passionateLearner's user avatar
-1 votes
2 answers
946 views

How to convert a string to file with UTF-32LE encoding in JS?

Based on this thread I tried to create a blob with utf 32 encoding and BOM of FF FE 00 00(UTF-32LE representation) as follows: var BOM = new Uint8Array([0xFF,0xFE,0x00,0x00]); var b = new Blob([ BOM, &...
πTh0n's user avatar
  • 75
2 votes
1 answer
646 views

Reduce File Size Of An Image In A File Upload Preview, Without Affecting The Size Of The File To Be Uploaded - JavaScript

I have some image preview functionality as part of a file uploader that shows the images prior to upload. Within this process the image previews use a htmlImageElement.decode() method that returns a ...
pjk_ok's user avatar
  • 828

15 30 50 per page
1
2 3 4 5
15