97
questions
0
votes
0
answers
27
views
Removing watermark before converting the pdf into docx format using convertapi
I'm currently attempting to convert a PDF into DOCX format using convertapi. While the conversion process itself is successful, I've encountered an issue. The PDF I'm working with contains a watermark ...
0
votes
2
answers
285
views
Android Camera2 YUV_420_888 image to RGBA Bitmap conversion produces a greenish image
On my Samsung Galaxy A54 5G device with Android 14 I am trying the camera2 API and to take image in YUV 420 format. Device only supports JPEG and YUV 420. I tried many of methods to convert from YUV ...
0
votes
0
answers
35
views
Image conversion from .tiff (500 ppi) to .jpg keeping the (same) resolution
We are trying to convert a fingerprint .tiff image with a 500 ppi resolution to .jpg keeping the same resolution.
We managed to convert it but it seems that the resolution information is lost during ...
1
vote
2
answers
739
views
EF PNN speicifcation in sim/usim
I am writing a sim profile and I need to code EF PNN. As per TS31.102 and TS24.008 it shows that EF-PNN
has
first byte = Full name for network IEI: '43'
second byte = Length of Full name for ...
0
votes
1
answer
226
views
fortran internal read - convert character to integer
I have browsed through many articles (i.e. character to integer conversion in fortran) which suggest a solution to the problem.
I just can't get it working although I think I follow the suggestions ...
0
votes
1
answer
228
views
Convert restId to the entryId with calling translateExchangeIds?
As a followup to Converting restId format type to old Outlook HexEntryId type :
Since user2250152's excellent answer indicates that I have to do some programming myself, I was wondering:
Can I also do ...
0
votes
1
answer
253
views
Converting restId format type to old Outlook HexEntryId type
Back in the days when we did a calendar synchronisatie via Outlook this gave us IDs of the form:
...
-1
votes
1
answer
579
views
C++//STL to OBJ Converter: How can i make my program run faster
I am creating an "STL to OBJ" format converter. The program contains a header file that reads the data from an STL file. and the main program takes that data and writes it to a new OBJ file.
...
0
votes
0
answers
188
views
How to convert datetime format?
I have datetime in yyyy-MM-dd'T'HH:mm:ssZ i.e (2022-04-30T07:00:00+0000) format and I want it to be converted into %Y-%m-%d i.e 2022-04-30 format in python. Can anyone tell me how to do it?
I have ...
1
vote
2
answers
701
views
Convert IMFMediaBuffer data having data type of YUY2 to RGB24 or RGB32
I am reading a frames from my web cam using MediaFoundation APIS.
IMFMediaType mediatype = null;
Hresult hr= mSourceReaderAsync.GetNativeMediaType((int)MF_SOURCE_READER.FirstAudioStream, i, out ...
0
votes
1
answer
532
views
FFMPEG converting MP3 to MP4 is adding blank space, how to fix Terminal command?
I'm creating MP4 files from MP3 files + an image. Searching here at StackOverflow I found a Terminal command that gets me really close:
ffmpeg -loop 1 -r 1 -i pic.jpg -i input.mp3 -c:a copy -shortest ...
0
votes
2
answers
2k
views
How to convert a docx to pdf in flask
So i am making a flask web app and i added a docx to pdf converter but its not working every time i will ran into a problem even though it is simple so i am using this python package to convert docx ...
0
votes
1
answer
122
views
Convert a raw sequence of N x M values into a proper image format with minimal effort
I have a file with a sequence of NxM unsigned integral values of fixed width - let's even assume they're single bytes - and I would like to "wrap" in some kind of common image file format. ...
1
vote
1
answer
84
views
Why my conversion specifiers doesn't work properly in C
I'am quite new in C and dealing with text formatting that is a bit challenging for me.
I try to enter initials J. S. (whitespace between characters) and name John Smith and my initials array stores ...
1
vote
0
answers
163
views
Cannot read GeoTIFF files using Magick++ API
Using Magick++ C++ API for ImageMagick library, I am trying to convert a GeoTIFF file to JPG File, as such:
Magick::Image input;
try {
input.read("inputfile.tif");
input.write("...
0
votes
2
answers
3k
views
To convert Tif files into RGB(png/jpg) using python
I am using the code snap given below and its working without error but the converted file is not having .png extension as I am giving png in "OutputFormat".
I am running it in Colab and I am ...
1
vote
1
answer
53
views
How to count the uses of undefined symbols in an object file?
Suppose I'm "forensically" examining an object file that somebody else compiled. I don't have the source, and can't rely on debug symbols either. Still, I can use:
objdump -C -t my_object.o \...
0
votes
1
answer
2k
views
Can I convert a .clang-format file to the Eclipse formatter format?
I'm using Eclipse CDT to work on a repository which has a .clang-format file, and would like to use it. So - can I somehow convert it into the XML format which the Eclipse formatter uses?
Note: The ...
1
vote
0
answers
5k
views
how does facebook convert heic to jpeg?
When I upload an image of the heic format on Facebook, it converts this file to jpeg before posting it.
Where does the convert happen? In client before sending file to facebook server? Or in the ...
0
votes
0
answers
2k
views
How to set up Open-XML-PowerTools
I'm trying to use Open-XML-PowerTools.
And I would like to execute it on powershell command line.
However, I haven't got to the point where I can actually use it,
because it seems that I could not ...
0
votes
2
answers
1k
views
How can we convert a given datetime format in PostgreSQL?
I have a date time column which is of the following format:
2019-11-10-07.10.55.865000
I want my format to be as follows:
2019-11-10 07:10:55.865000
How can I do this in PostgreSQL 9.6.11?
0
votes
0
answers
159
views
Converting Json data to Tabular form using Powershell
I am trying to convert JSON data(Childnodes) to tabular format with a Customer column header. I am able to get the exact node via data ,but not sure how to convert it to tabular format.
Code tried so ...
2
votes
1
answer
424
views
Unable to convert to mp4 in iOS 13
On a device running iOS 13, [exportSession exportAsynchronouslyWithCompletionHandler: always fails with message "The operation could not be completed" while converting .MOV video to mp4. However, the ...
2
votes
2
answers
2k
views
How to convert Selenium IDE (.SIDE) recordings to Robot Framework?
I'm just after recording a Selenium IDE Recording with Google Chrome. I've saved the .SIDE -extension file, and now I'm wondering -- how would I go about converting this file format into .robot so I ...
2
votes
1
answer
161
views
Custom DatePicker Crashes on Samsung Devices Running Android API Level 21 & 22
I got this crash report in Crashlytics:
SimpleMonthView.java line 684
android.widget.SimpleMonthView$MonthViewTouchHelper.getItemDescription
-----
Fatal Exception: java.util....
1
vote
1
answer
3k
views
.hex/s-rec format converter to elf
Does someone know of a converter from Intel .hex file format or Motorola S-record to elf file format?
3
votes
4
answers
2k
views
Converting from String to specific HH:mm date format
I have a String object which stores the current system time in HH:mm format. I have to convert this to a DATE object and maintain the same HH:mm format. How can this be done.
I tried using Date parse ...
0
votes
1
answer
42
views
how to convert a json type data into csv format
Any suggestion on how to convert data as follows into csv file in python:
[{
'name': 'a',
'url': 'url1'
},
{
'name': 'b',
'url': 'url2'
},
{
'name': 'c',
'url': 'url3'
}]
thank you.
1
vote
1
answer
285
views
Converting from field: value format to CSV
I have a file in the following format (well, sort of):
RECORD_SEPARATOR
foo: some foo value
bar: another value
baz: 123
RECORD_SEPARATOR
foo: another foo value
bar: yet another value
baz: 345
...
3
votes
1
answer
2k
views
Convert or translate a RDF/XML file to JSON-LD format
I am trying to parse a RDF/XML formatted document into JSON-LD in order to frame it. All using Node.js and not utilizing any web service APIs (a not too uncommon solution).
I feel that I am almost ...
0
votes
1
answer
183
views
Multiple input files as single file output from biopython AlignIO
I'm writing a code to convert alignments from multiple files to phylip format, and then output all alignments to a single file. I can't seem to find a good way to have AlignIO.write() take multiple ...
7
votes
2
answers
3k
views
Converting html to json with pandoc
I'm trying to take html and generate some json that keeps the same structure.
I'm trying to use pandoc, as i've had some success in transforming things from format A to format B using pandoc before.
...
1
vote
1
answer
43
views
extracting an integer from aKorean text string, conditional on its content and converting it to float in pandas
I'm a bit stuck on the following problem: I have a pandas data frame where one of the columns is a string of text in Korean that looks like this:
data = {'id': [1,2,3,4,5], 'age': ['3.5년령(추정)','3개월령',...
0
votes
1
answer
3k
views
OpenCV Python converting color-space image to YCbCr
I need convert an image from BGR to YCbCr in Python using OpenCV.
I have an image with size/resolution 512x512, but when the image is opened, the size is 128x128.
I'm doing:
image = cv2.imread(...
3
votes
2
answers
3k
views
Pandas:How to convert date format %Y-%M-%D into %Y%M%D?
I have a dataframe, which can be shown as follows:
Input
import pandas as pd
df=pd.DataFrame({'time':['2018-07-04','2018-04-03',]})
print('df\n',df)
Output
time
0 2018-07-04
1 2018-04-...
5
votes
0
answers
2k
views
Converting MP3 to PCM and playing it back in Android
I am trying to convert an mp3 file to pcm file and trying to play it. I want the values as int16. I was able to successfully convert it using MediaCodec and MediaExtractor in android. And i was able ...
0
votes
1
answer
3k
views
R set dot (".") as thousands separator and comma (",") as decimal separator
I have been given an excel file extracted from an SQL database which means the numerical fields are presented as 12345,67
.
I import the file in R 3.2.5 using library(readxl) and it correctly ...
0
votes
2
answers
2k
views
Is there a way to convert JSON-LD to N-Quads format?
We have a requirement where we will be storing data in JSON-LD format for maintaining a catalog and data from the catalog will be pulled in batches to a graph database which supports the RDF data ...
2
votes
1
answer
1k
views
Audio data string format to numpy array
I am trying to convert audio sample rate (from 44100 to 22050) of a numpy.array with 88200 samples in which I have already done some process (such as add silence and convert to mono). I tried to ...
1
vote
1
answer
3k
views
Converting SQL file To CSV
I have dumped a sql table for cities, regions & countries.
I have the .sql files in my local machine. I need to convert them to CSV format.
So I have a 2 part question.
1): What is the best way ...
0
votes
1
answer
2k
views
Convert JSON to XML in Java with different JSON object names
I have this JSON string:
{
"purpose": {
"caption": "Purpose",
"value": "Buy a goat"
},
"goatValue": {
"caption": "Goat value",
"value": "4500000"
},
...
1
vote
1
answer
4k
views
How to convert rds format data into shp format in R?
I have a map data whose format is rds. Now I want to use this data in another software which asks for shp format. How to convert rds format data into shp format in R?
1
vote
1
answer
2k
views
Convert a string value to a date value in vba
In order to ease the data entry, I am allowing users to enter the date as "ddmmyyyy" without "/", e.g, "12032017" . After the entry I want to update the target cell with value "dd/mm/yyyy", e.g, "12/...
0
votes
1
answer
88
views
Image in PDF file
I trying to display image in pdf when click on print then pdf file is open i try this on button click
Dim datastram = New StringBuilder("")
Dim bodystringmain As StringBuilder = New ...
8
votes
2
answers
14k
views
c# extract mp3 file from mp4 file
is there any easy way of extracting a mp3 file from a mp4 file?
I've already tried to change the file extension, but that won't let me to edit the mp3 description.
thank you!
3
votes
1
answer
13k
views
How to convert JSON object to markdown using pypandoc without writing to file?
I am trying to take a response from an API that reports back a JSON object and convert that to a markdown output to present it in a more readable format. I am attempting to use pypandoc to do this and ...
0
votes
1
answer
1k
views
How to convert a file rss to xml in python?
I need to convert the page cnn rss (http://rss.cnn.com/rss/edition.rss) to XML file. I need to filter with the tag: title, link and pubDate and then export to csv file the result.
I am tried a code ...
1
vote
5
answers
17k
views
Converting data from .csv file to .json - Python
I need to convert data from my csv file to the one i am gonna use which is .js.
Lp.;Name;Surname;Desc;Unit;Comment
1;Jan;Makowski;Inf;km;
2;Anna;Nowak;Pts;km;Brak reakcji
If you can see column '...
2
votes
4
answers
2k
views
Sketch to Html / CSS
I'm looking for a way to convert from SKETCH to HTML and CSS,
I'm hoping I could then fix the whole code to better suit my needs and add some JS to it.
-1
votes
1
answer
1k
views
How to convert .xls file which has html tags in it to delimited .csv from command line
We have a requirement to download the export from jira portal and insert this information to a table for some reporting. now the challenge is , the file downloaded from jira is in .xlx extension and ...