Questions tagged [formats]

71 questions
19
votes
3 answers

How to get all of the supported file formats from Graphics unit?

When any TGraphic descendant registering its own graphic file format with a class procedure TPicture.RegisterFileFormat(), they're all stored in Graphics.FileFormats global variable. Too bad that FileFormats variable is not in the "interface"…
Andrew
  • 3,512
  • 3
  • 38
  • 67
18
votes
2 answers

HTML5 audio what audio formats are supported

I have short sound that I wish to play in my webapp using HTML5. I save it in 3 formats. wav, mp3 and ogg I created 3 tags to play in different formats.
10
votes
4 answers

How do you create a file format?

I've been doing some reading on file formats and I'm very interested in them. I'm wondering what the process is to create a format. For example, a .jpeg, or .gif, or an audio format. What programming language would you use (if you use a programming…
orbit82
  • 445
  • 2
  • 6
  • 17
9
votes
1 answer

GL_ALPHA, GL_LUMINANCE

I'm trying to bind a texture that I want to interpret as either Alpha, Luminance or Intensity. I'm using OpenGL 4.0. I can bind them as GL_RED OK with no problems, i.e. : glTexImage2D( GL_TEXTURE_2D, i, GL_RED, …
Robinson
  • 8,836
  • 13
  • 64
  • 108
6
votes
1 answer

mediaelement.js supported formats

Can mediaelement.js playback .WAV sound files? Also, even though these are not specified in mediaelement.js website, since Flash is able to playback these formats, can mediaelement.js possibly playback AAC, M4V, M4A, 3GP, MOV and 3GPP? How about…
chocobanana
  • 213
  • 2
  • 8
6
votes
2 answers

What formats of video will play in emulator?

What formats of video file are supported in the Android emulator? I understand that it probably won't play in real time, but what ones will play at all?
Peter vdL
  • 4,765
  • 9
  • 37
  • 59
6
votes
0 answers

Android library/SDK/API for iOS like fileviewer

There are many questions about this subject, but none has come to the correct answer. In summary, what out-of-the-box library/SDK provides finished/usable code for Building an Android App that can View: doc,docx,xls,xlsx,ppt, pptx, and…
Dennis
  • 61
  • 2
5
votes
3 answers

Converting the date time to display milliseconds in C#

I want to show the milliseconds, but ToString shows the milliseconds as 00000. I am providing the code below, with the output at each step. String currentDateTime = DateTime.Now.ToString("G"); Output - 7/27/2011 3:05:31 PM System.DateTime…
Sujay Ghosh
  • 2,670
  • 6
  • 27
  • 40
4
votes
3 answers

Best practice how to store HTML in a database column

I have an application that modifies a table dynamically, think spreadsheet), then upon saving the form (which the table is part of) ,I store that changed table (with user modifications) in a database column named html_Spreadhseet,along with the rest…
user299319
  • 91
  • 2
  • 6
4
votes
5 answers

VB Script date formats "YYYYMMDDHHMMSS"

As title surgest I need to fomat the now () function to display on the format "YYYYMMDDHHMMSS" I did have a play about trying to split it out but this drops leading zeros that I need to retain example below mydt was "27/02/2015 13:02:27" mydt =…
Mike Harris
  • 133
  • 1
  • 1
  • 7
4
votes
1 answer

"svn: Syntax error in revision argument" for date formats

Can anybody tell me using svn on OS 10.7.3 with a tcsh shell what date formats are accepted? I'm attempting to do an svn up -r {DATE} and every time I get this: svn: Syntax error in revision argument The formats described here are not…
user501138
  • 789
  • 1
  • 8
  • 16
3
votes
1 answer

Format statements in Fortran modules

I have a module with a number of subroutines that all use the same set of formats for output. Right now, I have to declare the formats in every subroutine. Is there a way to declare them in the module so all the subroutines have access to them?
astay13
  • 6,137
  • 8
  • 36
  • 52
3
votes
2 answers

C# - Parsing partial dates in different formats

For use in a search method i would like to parse partial dates in different formats. I want to enable the user to search for day and month or month and year or also day and month and year. But the more problematic thing is that i want do this in all…
Marks
  • 3,451
  • 5
  • 29
  • 44
3
votes
3 answers

Where to get full list of libav* formats?

Where to get full list of libav* formats?
Rella
  • 59,216
  • 102
  • 341
  • 614
3
votes
2 answers

How to disable gridlines in Excel using open xml C#?

I want to disable GridLines in excel and put custom borders to excel cells using open xml in C# I have tried with below code but is throwing exception when i open the excell, the exception is "Repaired Part: /xl/worksheets/sheet.xml part with XML…
Raj
  • 31
  • 1
  • 4
1
2 3 4 5