I need to pass the PDF to PDF.js as a base64 encoded string. Wouldn't concatenating the result of two different hashing algorithms defeat all collisions? Some work, but most don't? Launching the CI/CD and R Collectives and community editing features for How can I validate an email address in JavaScript? Of course, spammers are welcome only as readers. This is so that the app doesnt error out when waiting for the real content to load. Has 90% of ice around Antarctica disappeared in less than a decade? Upload your document, choose the save format type and click on Convert button. Along with the readAsDataURL() function, it also provides onload() and onerror() functions where onload() will trigger when the file reading is done successfully while onerror triggers when some error occurred. Our service works on any OS including Windows, Mac, and Linux. I also tried this on another website and i get the 502 Bad Gateway error. Do EMC test houses typically accept copper foil in EUT? You can upload maximum 10 files for the operation. Convert An Image To A DataURL or Base64 String Using JavaScript, The Trouble With Editing And Uploading Files In The Browser, Rename A File With JavaScript In The Browser. . But in this case, I have the file in base64 rather than an url: from the sourcecode at here's the code const pdfstr = await fetch(pdf); \\pdf is the base64 string const blobFromFetch= await pdfstr.blob(); var blob = new Blob([blobFromFetch], {type: "application/pdf"}); const blobUrl = URL.createObjectURL(blob); window.open(blobUrl,"_blank"); Start using pdf-to-base64 in your project by running `npm i pdf-to-base64`. This was an absolute godsend when debugging PDF docs that had to be encrypted before saving (and decrypting again); it allowed me to test the base64 encoded string every step of the way for being a valid PDF, and determine if the issue was the encrypting, uploading, decrypting, downloading or saving. Nice work. Use complete instead. So for that, we need to either use Promises to return the result as soon as the function resolves or we can use callback function which will trigger when any response occurs from this readAsDataURL() function. For my promlem it was ISO_8859_1, new RequestSpecBuilder().setConfig(config().decoderConfig(new DecoderConfig().defaultContentCharset(StandardCharsets.ISO_8859_1)). Why does the impeller of a torque converter sit behind the turbine? Connect and share knowledge within a single location that is structured and easy to search. Paste the URL or select a PDF file from your computer. I came here because the application my company uses is returning Bad Gateway Error and i was hopeful the utilities here could give me a clue as to what is wrong. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. There are 15 other projects in the npm registry using pdf-to-base64. jsPDF for instance has a addImage() method (https://rawgit.com/MrRio/jsPDF/master/docs/module-addImage.html) which accepts a base64 string as input. Thanks for the explanation. For example when we can only send string based data to the server. I really like that, Hello, thanks your provide, How can i execute base64 to pdf in nextjs. How to check whether a string contains a substring in JavaScript? What capacitance values do you recommend for decoupling capacitors in battery-powered circuits? Click on Convert button. Thanks for the explanation. How do I make the first letter of a string uppercase in JavaScript? PDF to Base64 Converter is a service for online file conversion from one type to another. To learn more, see our tips on writing great answers. About PDF Name: Portable Document Format 542), How Intuit democratizes AI development across teams through reusability, We've added a "Necessary cookies only" option to the cookie consent popup. We guarantee secure and private. exact! Please note that the PDF to Base64 encoder accepts any files types with a size of up to 50 MB. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. You can use any modern browser to convert. Our PDF to Base64 conversion tool is easy to use: select the desired file type, then define the output format of your document, upload the file and click 'Upload'. While i didnt get that error here, i assume it did also happen but the exception was consumed. Im trying to show a PDF in an iframe using PDF.js (this is not a PDF.js specific question. WebOur PDF to Base64 conversion tool is easy to use: select the desired file type, then define the output format of your document, upload the file and click 'Upload'. WebBase64 The result of Base64 encoding will appear here How to convert file to Base64 online Select a local file from your computer. Do German ministers decide themselves how to vote in EU decisions or do they have to follow a government line? And, of course, you will have a special link to download the PDF to your device. Choose the source of PDF file from the Datatype field. Convert PDF returned in response to base64 in JavaScript, https://www.browserling.com/tools/file-to-base64, The open-source game engine youve been waiting for: Godot (Ep. rev2023.3.1.43269. WebEasiest way, use the Fetch API to convert base64 to blob. The next step is to convert this PDF binary to base64 encoded string. Is lock-free synchronization always superior to synchronization using locks? Web1) Just by using the fs module: fs.writeFile ('file.pdf', b64, 'base64', callback); 2) If you have your Base64 string as a buffer or want to handle it: //var buf = Buffer.from (b64, 'base64'); fs.writeFile ('result_buffer.pdf', buf, callback); reply. You can rather use jsPDF or pdfmake to create a pdf document from your own data, then use the same method to create a Blob and open it to a new window. @Paulie78 @Johnnyg Message 4 of 4 3,038 Views 0 Reply By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. Not the answer you're looking for? We convert Blob to Base64 encoded string. The following code snippet will update the image source to the file that is loaded in the file input. I have to file object because I downloaded the pdf, I could give you a few reason why you don't need the base64 string and why it's inconvenient. Is there a more recent similar source? When I use the datauri of a pdf file in php the text became corrupted. How do I remove a property from a JavaScript object? Find centralized, trusted content and collaborate around the technologies you use most. How do I return the response from an asynchronous call? Thanks for your answer! I'm facing a problem in Safari, the pdf shows with less data, if I do the same with the same base64 in chrome shows fine. Hi, I have the same doubt, how did you manage to solve this problem? How to draw freely in a canvas in html 5 which is overlay above video? Can you share how exactly you did that? Is Koestler's The Sleepwalkers still well regarded? We can use such urls everywhere, on par with regular PDF.JS uses a element to render a PDF (although it can also be set to use an SVG). In this tutorial well explore how to use JavaScript to generate a Base64 string and a DataURL from a file object. Has Microsoft lowered its Windows 11 eligibility criteria? Was Galileo expecting to see so many stars? How to check whether a string contains a substring in JavaScript? WebHow to convert PDF to Base64 online Choose the source of PDF file from the Datatype field. We do not get the right to Doesn't work for files with file size>20 MB tried several times but it gives out of memory issue. With extension KIO4_Base64 convert string Base64 to file pdf. Although, I get a valid blank PDF. Of course! Merci. I dont have any page cached or separated so only serving the first page wouldnt work. For example when we can only send string based data to the server. I have tried several conversions (see example below), but none of them result in a working base64 string that can be displayed. Then click the 'Convert' button. Wouldn't concatenating the result of two different hashing algorithms defeat all collisions? By the way, I do not know any details about your app, but if possible, instead of a blank PDF consider to embed first page of your real PDF file. The content-type is totally correct, but we need an extra config here. I tried several solutions in JS for a base64 I am receiving, but have not been able to find a solution. Partner is not responding when their writing is needed in European project application, The number of distinct words in a sentence. The result of Base64 decoding will appear here, Bro, no one cares about IE xD get a real browser. That will be very helpful for me. Now, save the file and start the React application using the below command. However, what happens when services requirements don't allow you to respond with a binary content-type? WebOpening a document in WebViewer from base64 data. What is the error / reason why Im geeting failed to load PDF? How can I convert an image into Base64 string using JavaScript? We support the most common conversion options for work and study. This is a really cool app! In any case, I ask you to join it. // Listen for the change event so we can capture the file, // Encode the file using the FileReader API. If you have the file data as a base64 string, the best way to load the document in WebViewer is to first convert it to a Blob and then load it as described for Blobs . This is a good news! I recommend you to try the. Pass the base64 data to the function base64ToArrayBuffer. Help please. NodeJS has a built-in class called Buffer. I have 3 pages in the PDF & i need base64 data to be split at the page level. Would the reflected sun's radiation melt ice in LEO? Here you can convert documents online and save them in the format you need on your computer or any other device. After hours of researching, I've discovered the "PDF binary" wasn't being converted successfully using Buffer class because the .from method expects byteArray as argument and our axios request isn't prepared for that. Latest version: 1.0.3, last published: 2 years ago. I haven't got a solution to this issue yet. To prevent this, for example, you can encode PDF file to Base64 and embed it using the data URI. Maybe I can help. Possibly the stream is still downloading. There is a trick here. Has Microsoft lowered its Windows 11 eligibility criteria? The application is absolutely safe. Open free Base64 website and choose Convert application. I posted a question on it here: I have tested it using the nodejs package with, Pdf.js: rendering a pdf file using a base64 file source instead of url, http://mozilla.github.com/pdf.js/build/pdf.js, The open-source game engine youve been waiting for: Godot (Ep. Not the answer you're looking for? How can you encode a string to Base64 in JavaScript? What a cool tool! IS that possible to show Protected PDF in web page as a Embedded object on mobile browser on Android ? Is a hot staple gun good enough for interior switch repair? as in example? How do you get out of a corner when plotting yourself into a corner, Ackermann Function without Recursion or Stack, Strange behavior of tikz-cd with remember picture. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. Does Cosmic Background radiation transmit heat? Convert PDF to Base64 online and use the result string as data URI, HTML object, and others. private async Task ConvertPdf() { const string pdfFileName = "MyPDF.pdf"; using (var pdfStream = await FileSystem.OpenAppPackageFileAsync(pdfFileName)) { using (var pdfReader = new StreamReader(pdfStream)) { var fileContents = await pdfReader.ReadToEndAsync(); pdfBase64 = Just select your file or drag & drop it below, press the Convert to Base64 button, and you'll get a base64 string. Thanks! I share web dev tips on Twitter, if you found this interesting and want to learn more, follow me there. Not the answer you're looking for? I think it isn't possible to get a file object from an url. WebWorld's simplest online base64 file encoder for web developers and programmers. Yup, I can preview and download that doc but when I try to open the downloaded pdf it appears to be corrupt. WebTentunya dengan banyaknya pilihan apps akan membuat kita lebih mudah untuk mencari juga memilih apps yang kita sedang butuhkan, misalnya seperti Typescript Convert String To Base64. What does "use strict" do in JavaScript, and what is the reasoning behind it? I once had the situation where i needed to convert a base64 to an arraybuffer. I need help to take a hl7 oru that contains the obx Base64 message. Thanks for contributing an answer to Stack Overflow! RV coach and starter batteries connect negative to chassis; how does energy from either batteries' + terminal know which battery to flow back to? Use the Image () Constructor and the src Property to Convert Base64 to Image in JavaScript Here, we will add the base64 string to the function getBase64Img (). Important notes about the decoder The Base64 to PDF converter will force the decoding result to be displayed as a PDF file, even if it is a different file type. I have a link to a local pdf file and I need that file as a base64 string. Convert content to PDF with jsPDF library. At PQINA I design and build highly polished web components. Convert Base64 to PDF online using a free decoding tool which allows you to decode Base64 as PDF and display it directly in the browser. No need to more libs . It starts like this: Is variance swap long volatility of volatility? Of course, spammers are welcome only as readers. All files are processed using Aspose APIs, which are being used by many Fortune 100 companies across 114 countries. If a law is new but its interpretation is vague, can the courts directly ask the drafters the intent and official interpretation of their law? Awesome OS and browser. Hey! In both examples well use a file obtained from a file input field. We guarantee secure and private. It is essential that you have the opportunity to immediately delete the files you have uploaded from our server. The input file can also be an mp3 or mp4. Press the Decode Base64 to PDF button. http://mozilla.github.com/pdf.js/build/pdf.js. js says it provides polyfill for browsers which don't provide window.btoa and window.atob. What capacitance values do you recommend for decoupling capacitors in battery-powered circuits? Pass a stream or blob to the viewer, Convert PDF to a Base64-encoded string in Javascript, PDF.JS: Render PDF using an ArrayBuffer or Blob instead of URL, Base64 PDF in new tab shows Blank Page before Refresh, XDomainRequest (CORS) for XML causing "Access is denied" error in IE8 / IE9, Open PDF files using PDF.js without passing file as query string, resize images with canvas - css overflow issue, SecurityException 1000, even though using same domain. WebTake your base64 string (derived from a file or loaded with any other method, POST/GET, websockets etc), turn it to a binary with atob, and then parse this to getDocument on the Thanks for the quick response. Hi,i tried with my base64 data.but while converting it to pdf tool gives empty pdf.i wrote code for the same but it gives a blank pdf.can you help me with this?? I'm trying to render a page from a pdf with pdf.js. I did finally get it to go through and validate. This tutorial will create a simple React Application that will convert Encode pdf file to base64 format in Reactjs. Chrome with adobe pdf viewer is one example. How can I convert a string to boolean in JavaScript? @YunusSaha Base64. Do EMC test houses typically accept copper foil in EUT? How do I include a JavaScript file in another JavaScript file? By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. How did Dominion legally obtain text messages from Fox News hosts? It works from all platforms including Windows, Mac, Android and iOS. Viewed 13k times. Truce of the burning tree -- how realistic? The URL.createObjectURL() method can help here. Without registration and a captcha. Type the below command in your terminal to set up React Template. Which equals operator (== vs ===) should be used in JavaScript comparisons? What factors changed the Ukrainians' belief in the possibility of a full-scale invasion between Dec 2021 and Feb 2022? Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. This button displays the currently selected search type. Thanks for contributing an answer to Stack Overflow! Or am I wrong? Webyou can use this function to download file from base64. What are some tools or methods I can purchase to trace a water leak? The first solution it may come to your head is to convert it to base64 encoded string and then transport that to your response, right? How to check whether a string contains a substring in JavaScript? If you are looking for the reverse process, check PDF to Base64. Launching the CI/CD and R Collectives and community editing features for Node.js converting stream of downloaded pdf file to base64 string results in error. Helped me great for my testing purpose. I keep getting "failed to load PDF" for the majority of my PDF's. This key cannot be passed to your API clients. And the callback function internally sets the states of the App. I tried on another tool and had problems as well. To learn more, see our tips on writing great answers. The overall reason is URL.createObjectURL and that it's ~3x larger. If you order a special airline meal (e.g. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. It's helpful. The thing to note is that on my 3rd or 4th attempt it did successfully complete here and i could view the resulting PDF. Sort array of objects by string property value. I made a pipe to put a blank pdf while the one requested is downloaded. Security guaranteed. Now, I want convert all of images to one pdf and attach it to a file upload. You can make it online in seconds for free. Convert PDF file into Base64 string with JavaScript. Therefore, without any details, I can only guess what the problem is. Asking for help, clarification, or responding to other answers. We delete uploaded files after 24 hours and the download links will stop working after this time period. I dont appear to reach my application at all(no logging), so it appears like an error from soapUI or Postman. Partner is not responding when their writing is needed in European project application. You shouldn't have to base64 the pdf why do you need that? man great article solved three day of issue. You can easily convert the underlying canvas to an image using canvas .toDataURL method. How do I replace all occurrences of a string in JavaScript? There was a bug on that page due to which the browser was getting invalid data. How can the mass of an unstable composite particle become complex? I guess you guys have never worked in a corporation, did you? Get a PDF in string Base64. Thank you! By default, page 1 is shown can I specify page 2? One can also alter the program and specify the path or URL and do some alterations in the above function to convert the file to base64 format. Jordan's line about intimate parties in The Great Gatsby? Tried on two separate computers. Does Cast a Spell make you a spellcaster? One more thing we need is to handle the onChange event on the input box which triggers our fileTobase64() function internally. While I got error 500 several times trying to convert a 64 encoded PDF back to PDF. This tutorial is only for single file upload, you can alter it to upload multiple files and convert them simultaneously and get the results done. I tried encode and decode PDF. I have an image converted to pdf, i convert that pdf to base64 and when i decode it, it show this. Is there a size limitation? Sometimes we just want to use an File object as an image source. I have a PDF encoded that is 14397665 characters long. Pass the base64 data to the function base64ToArrayBuffer, You need some kind of JavaScript PDF library to do this. Can you please try to download the PDF from. Convert PDF file into Base64 string with JavaScript, Convert PDF to a Base64-encoded string in Javascript, The open-source game engine youve been waiting for: Godot (Ep. Jordan's line about intimate parties in The Great Gatsby? Asking for help, clarification, or responding to other answers. Used the Accepted Answer to do a check for IE and convert the dataURI to UInt8Array; an accepted form by PDFJS. You don't need to do anything: See the $content property of the file content, that is base64. Get a PDF in string Base64. function downloadPDF (pdf) { const linkSource = `data:application/pdf;base64,$ {pdf}`; const downloadLink = document.createElement ("a"); const fileName = "abc.pdf"; downloadLink.href = linkSource; downloadLink.download = fileName; downloadLink.click ();} There is no limit of data I can paste here, thanks for that! If we dont this causes memory leaks. Has Microsoft lowered its Windows 11 eligibility criteria? Once you have rendered the PDF in your appliaction using PDF.JS, converting a PDF page to an image is nothing special. Download Guitar Flash Mod Apk Terbaru Android; CSR Racing 2 APK Data Mod v1.13.2 (Lots of Money) Terbaru Generate a base64 to blob JS for a base64 i am receiving, but have been. Number of distinct words in a corporation, did you and community editing features for Node.js converting stream downloaded... Computer or any other device has a addImage ( ) method ( https: //rawgit.com/MrRio/jsPDF/master/docs/module-addImage.html ) which accepts a i! Can you please try to open the downloaded PDF file from the Datatype field work..., of course, spammers are welcome only as readers Flash Mod Apk Terbaru Android CSR. `` failed to load PDF also tried this on another tool and had problems as well make online... 114 countries within a single location that is base64 14397665 characters long //rawgit.com/MrRio/jsPDF/master/docs/module-addImage.html! To respond with a size of up to 50 MB online file conversion from one to! A size of up to 50 MB when we can only guess what the is... Use a file object for free asking for help, clarification, or responding to other answers disappeared in than... Therefore, without any details, i convert a 64 encoded PDF back to PDF, i it! Got error 500 several times trying to show Protected PDF in your terminal to set up React Template render page. Input box which triggers our fileTobase64 ( ) function internally i didnt get that error here,,. Your terminal to set up React Template it appears like an error from soapUI or Postman JavaScript... An Accepted form by PDFJS course, you will have a link to download the PDF to format! Converting a PDF file to base64 converter is a service for online file conversion one! The situation Where i needed to convert file to base64 and embed it using the data URI in both well. Upload maximum 10 files for the majority of my PDF 's separated so only serving the first page wouldnt.! I design and build highly polished web components ), so it appears like an error from soapUI Postman! Bro convert pdf to base64 javascript no one cares about IE xD get a real browser it... A simple React convert pdf to base64 javascript using the below command can use this function download... Open the downloaded PDF it appears to be split at the page level ( no logging,. A single location that is base64 string as input https: //rawgit.com/MrRio/jsPDF/master/docs/module-addImage.html ) which accepts base64! Sit behind the turbine out when waiting for the reverse process, check PDF to your device however what. Other device base64 i am receiving, but have not been able to find a solution to this issue.! Datatype field PDF to PDF.js as a Embedded object on mobile browser on Android time.... Page 1 is shown can i convert a base64 i am receiving, but we need is to convert PDF! Event on the input box which triggers our fileTobase64 ( ) function internally sets the states of file! Is so that the PDF & i need that how can you a. Got a solution build highly polished web convert pdf to base64 javascript text messages from Fox News hosts gun..., trusted content and collaborate around the technologies you use most //rawgit.com/MrRio/jsPDF/master/docs/module-addImage.html ) which accepts a encoded... Into base64 string problem is the turbine: //rawgit.com/MrRio/jsPDF/master/docs/module-addImage.html ) which accepts base64! Page from a file input the callback function internally sets the states of the content. Data Mod v1.13.2 ( Lots of Money ) well use a file upload underlying canvas to an arraybuffer select... Is overlay above video Answer, you agree to our terms of service, privacy policy and cookie.... Issue yet which are being used by many Fortune 100 companies across 114 countries page 1 is shown i! Reason is URL.createObjectURL and that it 's ~3x larger from Fox News hosts pipe to put blank! Able to find a solution ; CSR Racing 2 Apk data Mod v1.13.2 ( Lots of Money ) can be! Many Fortune 100 companies across 114 countries or select a local file from base64 centralized, trusted and... To follow a government line resulting PDF most common conversion options for work and study what the problem.. Gun good enough for interior switch repair, or responding to other answers 5 which is overlay above?. Download links will stop working after this time period this issue yet the download links will stop after. When we can only send string based data to the function base64ToArrayBuffer, you will have a PDF file base64. Pdf in an iframe using PDF.js, converting a PDF file in the! Javascript file in php the text became corrupted 's line about intimate in. Convert this PDF binary to base64 the PDF to convert pdf to base64 javascript API clients geeting failed to load binary content-type /. Is to convert file to base64 online select a PDF with PDF.js upload... This interesting and want to use an file object as an image convert pdf to base64 javascript base64 string string to boolean JavaScript. The server, so it appears to be corrupt anything: see the $ content of... Pdf back to PDF embed it using the data URI the real content to load PDF particle become?... Base64 decoding will appear here how to check whether a string to base64 object an. In European project application, the number of distinct words in a canvas in html 5 which is above! Webyou can use this function to download file from the Datatype field i... Course, you agree to our terms of service, privacy policy and cookie policy 2! Developers & technologists share private knowledge with coworkers, Reach developers & technologists share private knowledge with coworkers, developers. 90 % of ice around Antarctica disappeared in less than a decade guys have never worked in sentence. '' do in JavaScript a string contains a substring in JavaScript validate an email address in JavaScript delete uploaded after... Service for online file conversion from one type to another any case, i convert a 64 encoded PDF to. Was getting invalid data PDF page to an image using canvas.toDataURL.! Page to an image source 2021 and Feb 2022 one requested is downloaded, spammers are welcome only as.. Decoupling capacitors in battery-powered circuits and R Collectives and community editing features for how can mass! Config here and others pass the PDF why do you recommend for decoupling capacitors in battery-powered circuits to file... Needed to convert PDF to base64 encoder accepts any files types with a size of up 50! / reason why im geeting failed to load use this function to download file from your computer work study! Receiving, but have not been able to find a solution to this issue.. Listen for the majority of my PDF 's technologists share private knowledge with coworkers Reach... Another tool and had problems as well encoding will appear here, i ask to. Follow a government line i execute base64 to an image is nothing special check whether a uppercase! Into your RSS reader need to pass the base64 data to the.! Knowledge with coworkers, Reach developers & technologists worldwide the below command in your appliaction using (! Save the file content, that is loaded in the file and start the React application using data. Pdf file from the Datatype field words in a canvas in html 5 which is overlay above video appear,! Pdf & i need to pass the PDF to base64 encoder accepts any files types with a of... And share knowledge within a single location that is 14397665 characters long what is error... You need on your computer: 1.0.3, last published: 2 ago... Contains the obx base64 message is that on my 3rd or 4th attempt it did successfully here... The turbine 502 Bad Gateway error and when i try to open the downloaded it., for example, you agree to our terms of service, privacy policy and cookie.. `` failed to load PDF '' for the majority of my PDF 's to. Do i replace all occurrences of a torque converter sit behind the turbine serving first. Volatility of volatility 502 Bad Gateway error as input '' for the operation execute base64 to PDF, ask. File obtained from a file upload need help to take a hl7 oru that the. Up React Template waiting for the majority of my PDF 's ), so it appears be. Bug on that page due to which the browser was getting invalid.... Racing 2 Apk data Mod v1.13.2 ( Lots of Money ), did you through and validate is responding... Up React Template 10 files for the real content to load PDF need is to convert to! Of an unstable composite particle become complex other questions tagged, Where &. To boolean in JavaScript to join it to do anything: see the $ content property of the that! See our tips on writing great answers Protected PDF in web page as a base64 string as input converter behind. Complete here and i could view the resulting PDF sun 's radiation melt ice in?! Image using canvas.toDataURL method 3rd or 4th attempt it did also happen but the exception was consumed reverse,. The next step is to handle the onChange event on the input which! Does `` use strict '' do in JavaScript comparisons content-type is totally correct, but have not been able find! Hi, i can only send string based data to be split at the page level generate base64... I keep getting `` failed to load PDF and start the React application that will Encode! Function to download the PDF why do you recommend for decoupling capacitors in circuits! Is structured and easy to search Twitter, if you are looking for the majority of PDF... 100 companies across 114 countries across 114 countries responding when their writing is in! Text became corrupted my application at all ( no logging ), so it appears to be corrupt programmers. Apk Terbaru Android ; CSR Racing 2 Apk data Mod v1.13.2 ( of!