Questions tagged [converters]
Converters can change data from one type to another, translate data based on cultural information, or modify other aspects of presentation.
5,697
questions
-2
votes
0
answers
25
views
Convert PDF file to Single page tiff with JPEG Compression [closed]
How To convert a PDF file to a single-page TIFF image with JPEG compression for color pages and Group 4 compression for black and white pages
0
votes
1
answer
12
views
Save ImageVector in Android Room database
I have an application where the user can choose an icon and I want to save that icon. I'm using Compose and for the icons I'm using ImageVector.
I want to store the ImageVector in the room database, ...
0
votes
0
answers
25
views
Locking GOOGLEFINANCE exchange rate at the moment when data is input
First post on stackoverflow, so please bear with me.
I use a google spreadsheet to track my expenses. As I have expenses in both EUR and Swiss Francs, I would like to program it, so that when I input ...
-2
votes
0
answers
23
views
How can I convert dat to tdms with python?
I need to develop a Python converter that can handle various file formats like DAT, ASC, R32, and R64, and convert them into the TDMS format. I've made an attempt, but it's not working as expected.
1
vote
1
answer
35
views
How to get .pdf file from remote server to local?
I have remote virtual server(oracle linux 7.6) contain .pdf file and I open this with Firefox.
Remote server block external network.
but I can select, copy string from remote to local.
how to get ....
0
votes
1
answer
21
views
bufferedimage null pointer exception
I have an image in a string form returned from soap. I need to decode this image and use it as bufferedimage. But when I do the conversions bufferedimage appears as null. How can I fix this? Where am ...
-1
votes
0
answers
9
views
Output current of switching convertor [closed]
Im using lt8365 Ic as switching convertor to produce about 400v but my challenge is it's output current.it doesn't produce enough current. Because I have used voltage doubler in it's output,it can ...
-1
votes
0
answers
31
views
How convert html + css animation to mp4
I have a animation on client side from html + css, how I can convert it into mp4 file on server side using laravel
I tried generate static html file and make multiple screenshots of this html using ...
-1
votes
0
answers
21
views
Data mapping of BACnet to Modbus protocol converter
As per my knowledge, I have done some data mapping for BACnet to Modbus protocol converter like BACnet Object with Modbus register and BACnet services with Modbus function code.so is it correct form ...
0
votes
1
answer
11
views
How to receive message over TCP and convert and forward as HTTP using HAProxy
I am trying to take a message (text string, JSON) over a TCP connection on port 8082 and forward it as an HTTP request to an apache server on port 80 (on the same machine). I think my configuration is ...
0
votes
0
answers
22
views
Format column of cells to date format
I want to convert all cells in column A to date format "yyyy-mm-dd" and I use this code below
With ActiveSheet.UsedRange.Columns("A").Cells
.TextToColumns Destination:=.Cells(1)...
0
votes
0
answers
17
views
No numeric data to plot error appears when trying convert excel table to hierarchical graph
When trying to convert table from excel to graph, I get an error "no numeric data to plot" "no numeric data to plot"
Also, structure of my table is changed not in the right way.
...
-1
votes
1
answer
34
views
I want to convert Gray code to binary in python and c [duplicate]
In two languages C and python3 I need to know How can i convert Gray code to its equal in binary?
For example 0111 in Gray code is equal to 0101 in binary.
Grey->Binary
0000->0000
0001->0001
...
1
vote
0
answers
49
views
Converting Legacy Project to Today's Technologies [closed]
I'm working on an old Classic ASP Project and this project connected to MSSQL Database.(Database includes lots of Stored Procedures like maybe 400+). I want to update this project up to ASP.Net 6.0 ...
0
votes
0
answers
19
views
How to batch convert "M4A" files to "MP3" with Python? [duplicate]
The issue is clear, how can I convert "M4A" files to "MP3" with Python?
Actually, what I'm searching for is a code that will convert files in batches, but I wouldn't say no to a ...
0
votes
1
answer
44
views
WPF Converter not triggered, when updating bound value from a seperate Thread
I have WPF Application that contains a DataGrid, which is bound onto a C# DataTable.
It has a converter that changes the background-color of the cell based on the value inside the cell.
Under normal ...
0
votes
1
answer
29
views
common fields converting from one class to another from parent class
I have 2 classes inherited from parent class, now i have data in 1 class, how to convert into other class which are having similar fields
ex:
class1{ var x,var y }:Parent()
class2{ var a,var b }:...
0
votes
0
answers
56
views
video and mp3 download
I am editing videos for my YouTube channel by downloading and converting videos in MP3 and MP4 formats. I can't find a good website for downloading. Either the download is very slow, the website is ...
0
votes
1
answer
41
views
How to open PubMed's .nbib files
I'm struggling to open a .nbib file extracted from ERIC (MEDLINE/PubMed-style format). The file can be exported here. I'm trying to use the rbibutils package, but I'm struggling with that. Can anybody ...
0
votes
0
answers
28
views
JSON string deserialize changing object returned by API
I am trying to deserialize a JSON String from an API, but I encounter an issue.
In fact, I created a class for every objects returned from the API, but if a same object (with the same id and content) ...
0
votes
1
answer
51
views
How to convert IDS peak::ipl::Image or peak::core::Buffer to an opencv cv::Mat?
I have tried to convert peak::ipl::Image to cv::Mat but dont find a method.
This proyect is implemented with C++.
while(true){
// Get buffer from device's DataStream. Wait 5000 ms. The buffer is ...
0
votes
0
answers
15
views
facing issue to convert svg code from cart image
I have a cart image which I need to convert into svg code, anyone help me to convert the SVG inline code
Here is the image which I want to convert to svg code
https://ibb.co/bJDHtjR
and I have sample ...
0
votes
1
answer
74
views
MAUI How to bind Shell BackgroundColor by boolean variable to StaticResource color?
I will bind StaticResource colors as BackgroundColor to the Shell (at AppShell.xaml) by a boolean variable.
My solution does not work. I get always the default BackgroundColor (see Style on the bottom)...
-2
votes
1
answer
26
views
How can i convert decimeters to tons per capita?
I don't know how to convert from decimeters to ton per capita?
I have tried to convert it to kilograms by multiplying with 1000? I read that 1 ton is 1000 kilograms so I did like that but not sure ...
0
votes
1
answer
45
views
Convert InputStream into POJO
I am currently using spring integration to grab a .csv file via sftp and process it and send it to kafka. I need to transform this .csv file (which comes as an input stream that I split line by line ...
2
votes
0
answers
27
views
Testing for equality with DependencyProperty.UnsetValue always fails
I have the following converter, which returns DependencyProperty.UnsetValue from its ConvertBack method:
public class DictionaryValueConverter<T> : IValueConverter
{
...
public object ...
0
votes
0
answers
35
views
I need to change decimal commas to points in the columns of a txt file
I have a set of data that looks like this:
date/time: ,16/02/2023,10:48 a.m.
Run 1
time Velocity 2
0,000000 1,992073E-1
0,016667 1,983866E-1
0,033333 1,982413E-1
0,050000 1,982486E-1
0,...
0
votes
0
answers
97
views
When creating pdf of html page with dinktopdf library, correct display does not occur
I want to render the html page and create a pdf file with the dinktopdf library. The pdf file I created does not have the same view as my view page. it doesn't get the table structure, it doesn't see ...
0
votes
0
answers
26
views
Automatic Conversion of contents in excel to word
I have the following table in an Excel file
Code, Description, and Value are table headers. C1, C2, and C2 are values of Code. Error, Code Change, and New code are values of Description.
Code
...
0
votes
0
answers
33
views
EEG file TDMS format to Mat file
I have an EEG file stored in TDMS format, unfortunately the eeg device file converter wasn't working and I had to take the TDMS file, now I want to analyze it with Matlab eeglab, and it wont work ...
3
votes
3
answers
72
views
How to properly execute a convert command using Python
I'm new to Python, so, I'm sorry if my question may seems dumb.
I'm trying to convert GIF files to APNG using this tool.
As it says in the bottom of this page, to convert GIF to APNG you must execute ...
0
votes
0
answers
24
views
Suggestion on Audiobook Converter
I'm gonna do a audiobook converter, and i want the audio to recognize the diagrams available on the book. The Ocr technique is not suitable i guess, is there suggestion on how to make it work?
I tried ...
3
votes
1
answer
60
views
How to inject Converter which returns list of generic type in Kotlin?
My application is implemented on Kotlin and I use spring boot 3.
I have a class like this:
import org.springframework.core.convert.converter.Converter
@Component
class MyConverter : Converter<...
0
votes
0
answers
29
views
System.Data.Common.Utils.Boolean equivalent in .net 6
There is a converter function in System.Data.Common.Utils.Boolean in .net Framework 4.8. I cannot find this namespace in .net 6. Does anybody know where it was moved to?
We are specifically looking ...
0
votes
0
answers
63
views
GLB File reader wont read GLB file
In order to build a file converter with gltf/glb being the starting file type, i need input the data of the glb file first. When tring to do that, I encountered a negative arry error given the fact it ...
0
votes
0
answers
145
views
Convert pdf files to pptx
I want to convert a folder with multiple pdf to pptx format. I tried googling and asking chatGpt but I keep getting different errors. Currently I was trying this pipeline:
def pdf_to_pptx(input_folder,...
0
votes
0
answers
80
views
Bypassing GPU Requirement for a conversion script (ckpt to safetensor)
I'm trying to use this code in a virtual environment
# Got a bunch of .ckpt files to convert?
# Here's a handy script to take care of all that for you!
# Original .ckpt files are not touched!
# Make ...
-1
votes
1
answer
51
views
vb.net json deserialize into a dataset
Im getting an odd issue with NewtonSoft JSON in converting a JSON string to a Dataset or String-based Dictionary.
dim TheJsonInstruction as string = "{
""id"": "&...
0
votes
1
answer
42
views
How to convert Pine Script V2 to V4/V5
I am trying to convert the the following Pine Script V2 Code to V4 or V5. I have tried updating the code automatically using the the 3 dots on upper right side and manually but have no luck. Mostly ...
0
votes
1
answer
68
views
Convert TimeGenerated with KQL stored function
Please help me on this. I couldn't figure out a way to make this work.
My goal is to convert the TimeGenerated(7/3/2023, 14:00:00 AM) in Sentinel logs into this format here: for example, "3 July ...
0
votes
0
answers
250
views
Convert rtf to html, keep colors
I need to convert a bunch of RTF files to HTML keeping the same formatting as possible
So I tried that python script that converts all rtf files from a folder to its html variants:
from glob import ...
-1
votes
4
answers
53
views
how i can print the result in one line and with space for each character
binary = {
"a": "01100001",
"b": "01100010",
"c": "01100011",
"d": "01100100",
"e": "...
0
votes
1
answer
56
views
@NamedNativeQuery and @SqlResultSetMapping: No converter found capable of converting from type [$TupleConverter$TupleBackedMap]
I am getting the following stacktrace:
org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [org.springframework.data.jpa.repository.query....
0
votes
0
answers
17
views
How can I import SVG in konvajs and convert each layer of SVG as a separate layer in konvajs?
I am developing a web application by angular and Konvajs. I have a problem as follows.
I imported SVG file into konvajs but I want to be able to edit each layer of SVG file separately in konvajs, or ...
0
votes
0
answers
45
views
How to convert a Bytebeat code to .wav or .mp3
this is my first post and I hope I will have an answer quickly, I was wondering if someone knows a bit bytebeat coding, because I used an online generator.
I modified the code and it worked on the ...
1
vote
2
answers
191
views
Converting WebDriverIO test scripts to a playwright scripts
I am trying to convert webdriverIO scripts to playwright scripts. Both are in JavaScript. I’d like to know if anyone of you have converted this type of project and is there any converter projects you ...
0
votes
1
answer
180
views
Node.js convert HEIC/HIF file to jpeg (offline)
I am trying to find a way to convert heic/hif files to jpeg server side so that they can be more compatible with other tools/programs. Seems like the only library I can find for node.js is heic-...
0
votes
0
answers
25
views
Converting coordinates from a linear custom map to world coordinates lat / lon
I want need to convert a given point (x, y) from the in-game coordinate system (just linea without degrees) to lat/lon world coordinates -180 -> 180 / -90 -> 90
I have an image of a in-game map ...
0
votes
2
answers
111
views
Setting a float to a more precise number than it can store
Can someone explain how this works?
float f = -1.8033077716827393f;
Console.WriteLine("f=" + f);
double d = (double)f;
Console.WriteLine("d=" + d);
Output is:
f=-1.8033078
d=-1....