convert

Is there a server application that converts aiff to mp3?

I'm developing an application for the iphone where it sends recorded files in aiff format to a server. The audio files need to be reproduced in the server with a flash player. Flash only can import audio files in mp3... so is there a server application that I can install that can do this automatically? Also, I'm using a shared server so...

How to convert Single Channel IplImage* to Bitmap^

How can I convert single channel IplImage (grayscale), depth=8, into a Bitmap? The following code runs, but displays the image in 256 color, not grayscale. (Color very different from the original) btmap = gcnew Bitmap( cvImg->width , cvImg->height , cvImg->widthStep , System::Drawing::Imaging::PixelFormat::Format8bppIndexed, (Sy...

Converting month name to integer

I did a quick search for this and was surprised not to find it anywhere. Basically looking to convert full month names (January, September, etc) to the equivalent number that would be used in mm/dd/yyyy format. I can put together my own array and pull it out accordingly, but there has to be a quick and straightforward method already. R...

How to convert HTML character NUMBERS to plain characters in PHP?

I have some HTML data (over which I have no control, can only read it) that contains a lot of Scandinavian characters (å, ä, ö, æ, ø, etc.). These "special" chars are stored as HTML character numbers (æ = æ). I need to convert these to the corresponding actual character in PHP (or JavaScript but I guess PHP is better here...). Seems...

Converting UTF-8 Characters to Upper/Lower case C++

Hello All, I have a string that contains UTF-8 Characters, and I have a method that is supposed to convert every character to either upper or lower case, this is easily done with characters that overlap with ASCII, and obviously some characters cannot be converted, e.g. any Chinese character. However is there a good way to detect and co...

Why a .png converted from a gnuplot postscript output, has transparent background?

I used gnuplot (4.2) to write a graph to a postscript file. But when I convert this .ps file to a .png file using the 'convert file.ps file.png' command, I get a png image which has no background (transparent). Why does this happen, and how do I get a png image with a white background? ...

Int32.Parse() VS Convert.ToInt32() ?

Hello. intID1 = Int32.Parse(myValue.ToString()); intID2 = Convert.ToInt32(myValue); Which one is better and why? ...

How to convert float to varchar in SQL Server

I have a float column with numbers of different length and I'm trying to convert them to varchar. Some values exceed bigint max size, so I can't do something like this cast(cast(float_field as bigint) as varchar(100)) I've tried using decimal, but numbers aren't of the same size, so this doesn't help too CONVERT(varchar(100), Cast(f...

From latex math formula to big jpeg file

Hello, I am wondering whether anyone knows a easy way to convert a latex math formula to a big jpeg file? Here is the latex math formula: \[ \lim_{u\rightarrow 0_+} \int_0^u \ud s \int_{-\infty}^\infty \frac{f(u-s,x-y)}{\sqrt{2\pi s}} \exp\left\{-\frac{y^2}{2s}\right\} \ud y \] Thanks! ...

Convert Text to Number Format In Excel

How to convert text to number, especially negative value:- 9,669.34 to 9,669.34 2,553.57- to (2,553.57) When I used this formula, =SUBSTITUTE(A1,CHAR(160),"")+0, it works well but only for positive value. I rcv'd #VALUE! for all negative values. ...

SQL convert int to time

I have a database that displays time as an integer. However I am wanting to output this into a report with the correct format. This is the format that I would like to change: eg. 183000 would become 18:30 500 would become 00:05 160000 would become 16:00 and so on. I have had a look and CAST and CONVERT but not succefully manage...

iPhone - How to convert aiff audio files into aac?

I'm developing an iphone app that records audio, right now it records aiff files, I need to convert these files to aac... any idea how to do this? ...

shp files in .net and convert to kml

Hi, I am working on application with maps in .net. I want to read shp files in .net and convert to kml I dont want tool , I need dll or code so that I can do it at run time. Can you help me on same Regards, Rahul M ...

Best way to convert an array of integers to a string in Java

In Java, I have an array of integers. Is there a quick way to convert them to a string? I.E. int[] x = new int[] {3,4,5} x toString() should yield "345" ...

Converting Wikitext to plain text in Java

Any script available for converting Wikitext to Plain text? I prefer it implemented in Java. Thanks! ...

FFMPEG - Not finding codec parameters

Hello, I'm trying to convert a sequence of images into a mpeg movie via FFMPEG, although I keep getting an error saying that it could not find the code parameters (Video: mjpeg). A Google search did not bring much up that was useful. ffmpeg -f image2 -i /tmp/img%03d.jpg video.mpgFFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c...

Help converting a bitmap to a png in memory using libpng.

Basically I would like to convert a bitmap to a png using libpng but rather than outputting it to a FILE* I would like to output it to a char*. I have already seen this related post but I don't see where the bitmap data is actually used. Any help would be appreciated. ...

System.Convert.ToSingle() Problems, (1.5) vs (1,5)

I'm writing program in C# for converting between model formats. The model format has numbers as text such as "-0.136222". I can use System.Convert.ToSingle() to convert this to a floating point number. But here in Germany we use commas as decimal points (-0,136222), and System.Convert picks up on this. Now I have the problem of it not r...

C# equivalent to Javascript "push"

I'm trying to convert this code over to C# and was wondering what is the equivalent to Javascript's "Array.push"? Here's a few lines of the code i'm converting: var macroInit1, macroInit2; var macroSteps = new Array(); var i, step; macroInit1 = "Random String"; macroInit2 = "Random String two"; macroSteps.push(mac...

Standard SQL - CHAR to ASCII

Using standard SQL, SQL-92, how can I convert a character to an ASCII value? In MySQL it's easy using the ascii() function, but SQL-92 doesn't have this. ...