Questions tagged [png]
PNG (Portable Network Graphics) is an image file format designed to store raster graphics. It is associated with ".png" file extension. Use this tag for questions involving this specific format.
6,816
questions
1
vote
0
answers
48
views
The stb_image.h library gives a segmentation fault when using clang
I am writing a project an opengl project where i need to read a png file from memory and store the bytes in a buffer. For this I am using the stb_image library. The only two lines of code which comes ...
0
votes
0
answers
9
views
Dicebear avatar converter in React Native isn't converting svg to png
I am using dicebear in my React Native project and have already generated an avatar that displays as an svg (using react-native-svg). However, I would like to generate that avatar as a png and for ...
-1
votes
0
answers
20
views
how to load PNG with RGB16/RGBA16 UShort Linear to OpenGL ES on Android?using libpng?createBitmap on Android it convert to deprecated RGBA_F16 bitmap
how to get the best precision for RGBA16F which use PNG to store normal, depth, etc?
Thanks! found there are precision problems on Android.
////////////////////////////////////////////////////////////
...
0
votes
0
answers
21
views
Get rgb value data from TileLayer onHover (openlayers)
Goal: visualize large .asc data (2d array data) on the client. More specifically, the user should be able to apply different color-maps and also hover on the point to see its value (at least a good ...
0
votes
2
answers
40
views
Can I stop Unity remembering data that has been erased from PNGs?
I have been working on a texture for an avatar to put in VRChat using Blender and Krita.The texture looks completely fine when in Blender but when I import the PNGs to Unity, issues occur. The main ...
-2
votes
0
answers
23
views
I think I mucked up my Intellij, how do I fix it? [closed]
Okay, so first a bit of context, I have been following a brilliant tutorial from a guy called Kaupanjo about modding Minecraft on 1.20.1 and I ran into some errors rendering textures, I'm pretty new ...
0
votes
0
answers
34
views
How to avoid this android kivy app crash (matplotlib)
new to forum so please don’t mind errors on my side.
I’m working on a simple kivy app which creates databases and outputs data from in png.
It’s about football club; players in a team, their ...
0
votes
0
answers
23
views
How to visualize GraphvizAlgorithm<Type, Edge<Type>> object to PNG or SVG in C#?
I'm working with the GraphvizAlgorithm<Type, Edge> class in my C# project and I need to visualize this object as a PNG or SVG image. I've created the graph and added the necessary nodes and ...
-2
votes
1
answer
47
views
Looking for a method to replace a PNG's transparent background with any other color in Linux without using ImageMagick [closed]
When given a png with a transparent background, even without any of it being visible it causes problems with the rest of my code, so I'm looking for a way to remove the transparent background either ...
0
votes
0
answers
24
views
PNG insert to Excel and convert Base64
I have a lot of information, such as company, employee name, Transportation, photo,but I want to convert the photo to base64。I don't know VBA very well. I have looked for several examples, but they ...
1
vote
0
answers
43
views
How do I retain the original jpeg image quality when I create a canvas
I have a form that displays a bunch of barcodes in jpeg format. When I right-click on an image and choose "saveAs", the file is saved with the original quality of the jpeg:
<div style=&...
0
votes
1
answer
31
views
How to save plots using ggMarginal? [closed]
ggsave() does not work as it treats the margins as transparent as shown in the following screenshot:
I tried doing png() and dev.off() but didn't have success. Is ggsave() not natively supported with ...
0
votes
0
answers
50
views
R rasterImage creates a white background when rotated on windows machine, not on mac
When I rotate an imported png image, a white background is added around the "box" the image is in. This happens on windows machine (R 4.3.2) but not on Mac (R 4.2.2). Both have 'png' version ...
0
votes
0
answers
35
views
SVG to PNG in Laravel makes jagged/crisped edges of product
if ($extension === 'svg') {
$svgIsWorking = env('SVG_ACTIVATED', true);
$fileNamePngSvg = 'shape_' . str_replace('_svg', '', $type) . '.png';
$command = 'rsvg-convert "' . $...
0
votes
0
answers
35
views
inDesign Script Errors for Batch Exporting
I need to batch process exporting pages from an INDD document into different formats. here is what I have so far:
var pdfPreset1 = app.pdfExportPresets.item("[Smallest File Size]");
var ...