Questions tagged [raw]
204 questions
6
votes
1 answer
How to apply white balance coefficents to RAW image for sRGB output
I want to convert RAW image data (RGGB) to sRGB image. There are many specialized ways to do this but to first understand the basics, I've implemented some easy alogrithms like debayering by resolution-reduction.
My current pipeline is:
Rescale the…

cytrinox
- 1,846
- 5
- 25
- 46
6
votes
3 answers
Gatsby Contentful embedded image
As I see there is no json option anymore when querying the contentfulBlogPost only raw. I was able to make some changes to get everything from the body, except the image from that post.
If I made a test in GraphQL Playground I can get the image id…

gatsbynewbie
- 63
- 3
3
votes
1 answer
K8s operator read raw data
Im trying to get RAW data from operator CR and im getting an empty object . (all others value are working as expected )
I’ve created a minimal example for the issue, in the example im trying to read the infrastructureConfig object
The tricky part…

JME
- 881
- 2
- 11
- 23
3
votes
1 answer
SDL2 make pixel array into texture
I trying to render a special image which is just a bunch of pixels with no format. It is a sort of a raw image with 42x 42 pixels. The images are palettes so I am curious how I should handle that situation too.
How can I convert an array of pixels…

LUser
- 1,127
- 4
- 23
- 39
3
votes
1 answer
How can I extract a jpeg from a corrupted raw file?
I have a corrupted raw file I want to recover (click here to download it if you want). I think the jpeg inside the raw file is intact, so I've been trying to extract it in different ways, using free software like ERawP or even writing a simple…

Fernando Franco Félix
- 139
- 1
- 5
2
votes
2 answers
How would I read a raw RGBA4444 image using Pillow?
I'm trying to read a '.waltex' image, which is a 'walaber image'. It's basically just in raw image format. The problem is, it uses 'RGBA8888', 'RGBA4444', 'RGB565' and 'RGB5551' (all of which can be determined from the header), and I could not find…

ego-lay atman-bay
- 67
- 7
2
votes
1 answer
Python: Convert RAW image to PNG
I am struggling with processing a raw image with Python to convert it to png format.
Processing these type of data is new to me and I don't quite understand the logic yet.
The image data (as per the camera doc) is 12 bit, little-Endian order with a…

davipeix
- 55
- 7
2
votes
1 answer
Character conversion from raw in R giving unwanted result
I have a web response being returned in raw format which I'm unable to properly encode. It contains the following values:
ef bc 86
The character is meant to be a Fullwidth Ampersand (to illustrate below):
> as.character("\uFF06")
[1] "&"
>…

user2793947
- 33
- 4
2
votes
2 answers
Convert list of raw-vectors in dataframe
I have a list of raw-vectors named "output". Something like that:
[1] 58 0a 00 00 00 03 00 04 00 03 00 03 05 00 00 00 00 05 55 54 46 2d 38 00 00 00 fe
[1] 58 0a 00 00 00 03 00 04 00 03 00 03 05 00 00 00 00 05 55 54 46 2d 38 00 01 03 19 00 00 04 02…

Flow91
- 63
- 6
2
votes
2 answers
Can you convert an R raw vector representing an RDS file back into an R object without a round trip to disk?
I have an RDS file that is uploaded and then download via curl::curl_fetch_memory() (via httr) - this gives me a raw vector in R.
Is there a way to read that raw vector representing the RDS file to return the original R object? Or does it always…

MarkeD
- 2,500
- 2
- 21
- 35
2
votes
0 answers
Duplicate packets received using raw sockets and boost asio
I'm developing a C++ program listening to multiple UDP ports and need to retrieve the TTL of received packets. Boost ASIO does not provide access to that.
I added raw sockets to the program with boost raw sockets instead of udp sockets. After some…

selladvis
- 21
- 2
2
votes
1 answer
Get raw value of attribute in js
Here is sample code:
AA
I want to get:
/blahblah-١.php
in logs, but above entity is…
user2772439
- 31
- 2
2
votes
1 answer
debian buster/10 iptables raw TRACE, no logs
I have a new installed debian buster/10, I want to check the iptables TRACE
log, so I added iptables's raw TRACE rule:
iptables -t raw -A PREROUTING -j TRACE
And I set this according to this page:
modprobe nf_log_ipv4
sysctl…

tom
- 317
- 3
- 9
1
vote
1 answer
How Do I Access Data in SQLRow object in Vapor/Fluent?
I am running raw sql queries in a Vapor app in a Fluent context.
The output I am getting for the object I'm interested in looks like:
(lldb) po words
▿ _PostgresSQLRow
▿ randomAccessView : PostgresRandomAccessRow
▿ columns : 1 element
▿…

Dan Donaldson
- 1,061
- 1
- 8
- 21
1
vote
2 answers
Working with raw file on Python. ValueError: cannot reshape array of size 5038848 into shape
I wrote code in Python programming language. This code should first open the raw file and output it as an image. Next, you need to split the pixels into RGB values and calculate the 3x3 matrix for color correction. But before that, you need to do a…

JohnStanley
- 11
- 4