Questions tagged [raw]

204 questions
0
votes
0 answers

How to install rawpy libraries?

I am currently working on a project which requires me to convert RAW images to JPEG, it seems the rawpy package (link) is the best option available to me but if you know any better ways to automate the conversion then let me know. I installed rawpy…
0
votes
1 answer

Canon printer does not print RAW when using fsockopen() to connect to printer on network

I have a Canon iSensys MF217w that is connected to a public IP address. I need to be able to print to this printer directly from our website from which we print orders. This is the code that I use: $outputString = "Hello World!"; $Ip =…
0
votes
0 answers

Converting an image to a specific byte format

So, I'm using an API to display a picture and it requires me to insert the actual bytes from the picture and not any specific file. There are a few listed examples, where they display pictures through hex bytes in a C vector, and the format they…
0
votes
1 answer

Trying to include Variables inside a Laravel Raw Query

Got myself tangled up trying to put a statement into a ::raw query: $rawStatement = "DISTINCT Product"; $product_codes = DB::table('Chemical') ->JOIN('ChemicalTarget', 'Chemical.ChemicalID', '=' , 'ChemicalTarget.ChemicalID') …
BaneStar007
  • 377
  • 1
  • 4
  • 15
0
votes
1 answer

Raw image Editing, Rotating and Saving back as Raw

I am working on bayer raw(.raw format) image domain where I need to edit the pixels according to my needs(applying affine matrix) and save them back .raw format.so There are two sub-problems. I am able to edit pixels but can save them back as…
Bimal Gupta
  • 71
  • 1
  • 3
0
votes
0 answers

How to validate entries to oracle raw column

I have a requirement where before entry to a raw column, first the data needs to be validated in Java. I guess what I need is a hex validation?. I saw some approaches in Verify if String is hexadecimal But wanted to know if there are any libraries…
rajesh
  • 3,247
  • 5
  • 31
  • 56
-1
votes
0 answers

How to decode a MP4A-LATM codec from a pcap file?

some video streams are contained in a packet with 2 formats , which is .H264 & MP4A -LATM.after conjoining the both , then only we'll get a fine audio.Using the H264 extractor ive extracted the h264 and i got the video from it. and later i converted…
-1
votes
1 answer

Is there a way to convert an array in a string into a working array?

I tried converting an array that is in a string string = "[[(34, 66, 75), (3, 145, 74)], [(5, 78, 33), (7, 44, 6)]]" to a working array [[(34, 66, 75), (3, 145, 74)], [(5, 78, 33), (7, 44, 6)]] in python but I failed. I tried so much but I couldn't…
Levi
  • 11
  • 2
-1
votes
2 answers

How to send raw data to a thermal printer using HTML

I have a thermal printer that I am printing labels to via a simple Java application. The printer is controlled using ZPL programming language. A string is prepared to format the label, and then this string is sent to the IP address of the printer…
hareti
  • 41
  • 6
-1
votes
1 answer

How to read RAW RestApi response C#

How to read a raw response and display as is as a string. I am getting the response as below. How to extract the below response as string { "ProductDescription": { "ProductId": "1000222", "ProducName":…
Buddy26
  • 39
  • 1
  • 6
-1
votes
1 answer

Raw pointer from a Box using '& mut *' behaviour is not understandable

I was creating linked list using raw pointers / unsafe Rust purely for learning purpose. I noticed something which I can't understand. struct Node{ data : i32, next : * mut Node, } struct MyFirstUnsafeQueue{ head : * mut Node, tail…
-1
votes
2 answers

How to convert an mp3 file to raw audio format using javascript

I'm working on a project that involves song matching, so I am integrating with rapidApi's shazam endpoints. But the thing is, the song matching endpoint needs the audio snippet to be a base64 string of the audio in raw audio format. I know the API…
Lord Bee
  • 132
  • 6
-1
votes
1 answer

Laravel, how I can simply execute complex query

I need count sent emails in a month, and the last sent to everyone. I imagine something like this: $mes=8; // or any month $search= [100,101,102,103]; // dni $sql = " SELECT A.dni, $mes AS mes, COUNT(*) AS total, B.lastet_date FROM emails AS A LEFT…
Mauricio
  • 23
  • 7
-1
votes
1 answer

raw text to array python

import numpy as np import re def read_process_OD(): OD = np.zeros([24, 24]) lines=[] with open('Network_OD.txt','r') as f: lines=f.readlines() origin=[] for line in lines: if line.startswith('Origin')==True: …
-1
votes
1 answer

Koltin, setting a mediaplayer from a variable

I'm working on an application, where for specific choosen items, specific .mp3 should be assigned. (Like I choose Dachshund, then I dachshund_1.mp3, dachshund_2.mp3 etc. to be played when my functions say so). Is it possible somehow, that I create a…
kispok98
  • 3
  • 2
1 2 3
13
14