100 questions
2
votes
1
answer
27
views
How do I fix a "TypeError: bad number of pixels" in a healpy.fitsfunc.write_map call?
I have downloaded the HEALPix5 DECaPS 3D dust extinction map (from arXiv:2503.02657) and imported it as a numpy array meanmap. The array gives an expected result (51415400, 1, 120) to the meanmap....
0
votes
0
answers
89
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
1
answer
75
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 ...
0
votes
1
answer
380
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
387
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:
...
0
votes
4
answers
2k
views
Convert a hex value stored as a varchar in an integer column to it's integer equivilent
Hi: I'm working with a SQLite (v 3.14.2) in Linux. Apparently, SQLite allows users to store char strings in integer columns (I find this shocking, but that's what it apparently allows). Some of ...
1
vote
2
answers
851
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
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 ...
1
vote
1
answer
96
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 ...
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 ...
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 ...
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
0
answers
184
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
2
answers
3k
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 ...
3
votes
1
answer
4k
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?
0
votes
1
answer
45
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.
3
votes
1
answer
3k
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 ...
7
votes
2
answers
4k
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.
...
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(...
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
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 ...
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 ...
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?
0
votes
1
answer
107
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 ...
3
votes
1
answer
16k
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 ...