add album art to WMA file - windows

I'm using WMP engine to convert audio to WMA format, but I didn't see any API that I can put a alubm art to WMA file. is there a way to do that? Thanks in advance.

Give this post a try.
You can do it by using MediaCatalog,which gives you an API to do this sort of thing, as explained in the link.

Check out TagLib Sharp. I have once used this to read album art. I am sure you can useit write it back too.

Related

Replace text in PDF using Cocoa

I am looking for a way to replace text in an PDF document in my Mac Application. But the problem is that I don't know how. I am thinking of converting the PDF to an HTML file, so I can use stringByReplacingOccurrencesOfString: and then converting it back to an PDF, but I can not find out how.
I also tried to replace the text using CGPDFDocumentRef but I couldn't find a valide method.
Can anyone please help me to solve this issue?
Thanks, David
It is not possible to replace text in PDF using CGPDF* API. PDF -> HTML -> PDF will not work because the double conversion will loose content (PDF and HTML formats are not quite compatible).
The only solution is to find a 3rd party toolkit that supports this functionality.

PowerPoint doesn't run Videos on other computers even after using Package for CD

I wanted to show a Presentation. When I run it on another computer, both the sounds and the vids didn't work. I found out about Package for CD and run it. The audio started to work on other computers, but the videos still ain't working. I am also including the audios and vids as the included files, but still, only the audios are working and the vids just show as thumbnails.
I am using PowerPoint 2007, Please help me if you have got any idea.
Thank You
It would work to save the original video file (not one copy pasted from the powerpoint presentation) in the pc. I assume you are the recipient of an emailed presentation. Make sure to have the videos in the ppt emailed as well.
For vids to play in PPT, two things have to happen:
PPT has to be able to FIND the linked video file, and
The CODEC required by the video must be installed in Windows
To keep links from breaking, you have to:
Save the PPT at least once before adding any videos
Put the video files in the same folder as the saved PPT
Make sure that the videos and the PPT file stay together, in same folder, on any computer where you want to play the presentation.
Package for CD should have handled all of that correctly for you, or modified the presentation so that it works as though it did.
As for CODEC though, you might try inserting the video into a new presentation on the system where the vids aren't working. If they still don't play, you need to figure out what codec was used and install it (or re-make the videos with a more common codec).
I'm not enough of a vid wiz to explain exactly how to do that; perhaps someone more knowledgeable will come along to fill in the blanks. If not, google is our friend.

Converting Word to PDF Using SharePoint 2010 Word Automation Services

I have tried to find out the way I can put locks or disable the copy and paste on the PDF file after the conversion. I looked at the ConversionJobSettings properties but I couldn’t be able to accomplish this.
Based on what I have read, the sharepoint2010 Word Automation services API provides very limited capability in manipulating the conversion logics but is there any way I can lock down the content so that it cannot be copied?
Thank for your help
You will either need to code something up yourself or get a third party product such as this one, which allows conversion as well as PDF manipulation including security and watermarking.
Note that I worked on this product, so I am obviously biased. Having said that, it works brilliantly.
The only way to prevent copy and paste (as text) is to create image versions of the pages and saves those as a PDF.
a possible solution:
1) Use Word automation to print to a PostScript (PS) printer driver to get a .ps file
2) Use GhostScript to convert the PS to tif files
3) Create a PDF using the tif files (possibly with GhostScript too)

Where can i find the nice Processing Gif file

Where can i find the nice Processing Gif file
I found few on google images. but when i try downloading them, its getting downloaded as an image.
Please help me.
I think you're looking for http://ajaxload.info. They're all images, though - that's what a GIF is.
Here another one ,explains what types you need.
http://qureyoon.blogspot.com/2006/11/make-your-own-loading-gif.html
maybe you're opening with the default windows image viewer. It doesn't show gif animations. try opening them in your browser if that's the case.

How to convert pdf and doc files to html using Cocoa

I would like to convert pdf, doc files to html files using Cocoa
Please help me in this.
Thanks in advance,
You can convert Word files to HTML using NSAttributedString. You can't do this in pure Cocoa for PDF files; you'll have to use a conversion tool, such as stigi suggested. To do that, use NSTask.
Cocoa's PDFKit framework can convert a PDF file to text, through PDFDocument's -string method for example. Of course this won't copy images or formatting though, and it depends on PDFKit being able to recognize text in the file.
there are a couple of tools for the unix commandline that do such kind of conversions.
check out http://pdftohtml.sourceforge.net/ & http://rtf2html.sourceforge.net/
you may see if there are other tools like this.
but to get back to your question. these command line tools can be called from within your cocoa app (won't work on the iphone) and produce the html result.
check out this link for a guide on how to embed such command line tools within your app.

Resources