I have a HEX dump which I'm told is a PNG file and hence want to convert it into the PNG so I can view/manipulate appropriately.
I've searched all over the internet but can't find any good tools out there to do this. I was perhaps thinking a plugin for GIMP or otherwise?
I'd love your suggestions.
You could try ImageMagick.
Is not a GUI, but has a lot of features as format conversions.
Tell us which OS are you using.
If you believe it is just a Base64 encoding, try uploading it to http://www.motobit.com/util/base64-decoder-encoder.asp (first Google result for "base64 decoder upload"), choosing the options to decode, and export to a binary file.
Otherwise, if you could post a portion of the file in question, that would be of much assistance.
Related
I have a scanned pdf and I want to transform it to an editable text format. Do you have some recommendations to do this on Windows? I was thinking about using Linux as a subprogram of Windows. Any other ideas?
It looks like you work in Python, so a pypi package you might want to look into is pypdfocr. Essentially you'll want to use a tool like poppler to render the pdf and get the images from it (a scanned PDF is built on images), then read the text from the images via an OCR solution to get the text.
I have not used this package myself, so this is as much help as I can give. It should work with python in both Windows and Linux.
I'm looking for a (free, GUI) tool to explore the internals and structure of PDF files on macOS (10.14.1). It looks like PDFXplorer from OS solutions (http://www.o2sol.com/pdfxplorer/overview.htm) would meet my needs, but no Mac version is available. I do not have Adobe Acrobat Pro. Surely, with the broad use of macOS in desktop publishing, there must be a tool to inspect the innards of a PDF! Any thoughts?
You may find an answer here, which includes lists of tools for parsing PDF data.
Best tool for inspecting PDF files?
Generally, in desktop publishing, the data streams of PDF are of little interest. Any problems, and the PDF will be re-made from the source artwork files, or edited/adjusted with Acrobat's preflight utility, or with a third-party tool like PitStop.
But this is without any user awareness of the actual data objects.
I have a wxPython GUI. I would like to display the pdf object as an image inside a wxPanel on Mac/UNIX. What would I use?
Any advice or suggestions would be appreciated. Thank you in advance.
There is wxPDF:
http://wxcode.sourceforge.net/components/wxpdfdoc/
You can write your own wrapper for python if you are good enough with C++.
Or you can try:
http://www.wxpython.org/docs/api/wx.lib.pdfwin-module.html
But that needs acrobat installed on the users system.
edit:
You could also use pdf2ps to convert every page (called from commandline so you don't violate the GPL if you are not releasing under GPL) and convert that to a png file with ghostscript.
Not very elegant, but probably the best approach without using acrobat.
PNG is recommended, fastest format for iOS. However PNG itself have several internal sub-formats. Alpha channel, byte ordering, color depth and etc.
I read Converting a normal PNG to iPhone Optimized format but the Q/A is about to images in bundles. Now I'm generating many thumbnails optimized for iOS from server. I can't use Apple's framework on server. However sub-optimal format is enough too. I want to hear opinions.
Given that Xcode-optimized PNGs are overrated simply creating smallest possible file may be a better option, and pngquant + PNGOUT or AdvPNG are good tools for that.
The iOS SDK runs pngcrush on the images it puts in the application bundle. Looking at the settings it uses would be a good place to start.
$ /Applications/Xcode.app/Contents/Developer\
/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush \
-revert-iphone-optimizations -q Local.png Local-standard.png
see http://developer.apple.com/library/ios/#qa/qa1681/_index.html
I'm looking to convert PPT and PPTX files to Flash (or flv) files in an automated fashion in Linux - So I need a command-line utility.
Are there any available options out there for me? (I haven't found any so far).
I was also looking for a Flash player to play ppt/pptx files as an alternative (similar to what slideshare provides) - does anyone know of any other than openslide?
Thanks for any help.
Related question here: Convert powerpoint to flash
Summary of answers: you should probably use OpenOffice to do it.
To do it from the command-line, it looks like you should probably use PyODConverter http://www.artofsolving.com/opensource/pyodconverter
OpenOffice generates a very poor SWF version. It should generate a back/foward button at least.