i am reading PDF files using CGPDFDocumentRef but now i want to save that PDF file in my iPhone, how to do it, what to use ? if any example is giving it will be highly appreciated. Thanks :)
Check out the way Apple does it in their Quartz 2D Programming Guide (specifically Listing 13-4).
Related
I have an Excel sheet with fields such as [name][url in folder][keywords] ... I am trying to find the best way to write IPTC metadata keywords to my 60'000 TIFF images in order to be able to search through them (with Adobe Bridge) from this Excel file. I have tried exiftool.exe but "Adobe Bridge" cannot read the rendering keywords. I have seen that it may be possible in PHP, but I would like to know if code or software already exists.
Any IPTC library can do it for you. I use Python so for example http://tilloy.net/dev/pyexiv2/ would be my tool. Look at the tutorial on http://tilloy.net/dev/pyexiv2/tutorial.html
solution with sample using c#,
scenario:
Download encoded pdf file of base64Encode and decode(base64Decode) and store in ApplicationData.Current.LocalFolder;
you can use File.ReadAllBytes to load the PDF file into your program and then u can convert the loaded pdf file using Convert.ToBase64String(bytes) method
You might want to prefer this link
https://social.msdn.microsoft.com/forums/vstudio/en-US/e5965e02-0bbb-4f8d-9e5f-8611aa902457/how-to-convert-pdf-file-to-base64binary
Well, I am not going to write a solution with a complete sample for you, but I will point you to what may be the most exhaustive base42 discussion in Windows Runtime.
http://blog.jerrynixon.com/2014/11/reading-and-writing-base64-in-windows.html
It's a crazy coincidence that I just wrote this a few weeks ago. You'll notice that it is in the context of an image, but you should be able to translate it simple enough.
Remember to post your solution here!
Best of luck!
I am new in Node.js development and i don't know how to import excel file in Node.js. And how to display excel data in browser any help related to this will be appreciated Thanks.
Check those links:
https://npmjs.org/package/excel
&
Node.JS/C++/Python - edit Excel .xlsx file
You can browse on npmjs.org to find a package that helps you in it.
For example:
https://npmjs.org/package/excel
Or if you want the raw file, you can also use fs:
http://nodejs.org/api/fs.html
I'm having a very hard time accomplishing my main goal: extracting data from an xlsx excel file
I'm running ExtJS + node.js, and I see two options:
Use this XLSX.js framework to convert the base64 string into js object-representations of xlsx worksheets for me to use. Problem is, I have no idea how to get a base64 string from an xlsx file..
Upload the xlsx file to the server, do the conversions there using node-xlsx, the send the object-representations back ala json. Having lots of difficulties here since ExtJS doesn't use real AJAX for file uploads so I don't know how to send the results back..
Has anyone had experience with this or could advise a solution? Having lots of trouble..
Number two is going to be the better option IMO. You can take a look at the FileUploadField control - there is a good example on submitting the Form that will upload the file to the server: http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.form.field.File
From there you can parse and return the json.
Since we struggled with exactly the same issue, we created a front-end XLS(X) and CSV import and export tool that you can use in ExtJS 4 applications with a few lines of code. The user just drags the file on the grid and done. We just launched it, here is a description of the problematic in dealing with files and the solution: http://2gears.com/2014/08/ext-js-excel-import-export-easy/
Hope it helps.
I'm working in vc++ 08. I need to read EXIF data of particular JPG file and modify it. In that mostly I need to read Latitude and Longitude data of JPG file and modify it. I searched for library that can give me access to EXIF data of JPG file but after all efforts I ended up here. I don't think there is any header file that can give me access of EXIF data of JPG file in vc++. Please help me out. Any examples will be appreciated. Or referce to any library for read and modify EXIF data of JPG file also appreciated.
Thanks in advance...
Try the Adobe XMP toolkit
It can work with EXIF GPS data - not just XMP and is native C++
Finally got it.
Use exiv2 library. It gives all access to exif data of image file. You can read and modify exif data very easily using this.
And more importantly it is free and open source.
Detailed usage : http://linux.die.net/man/1/exiv2