png Questions

11

Solved

I'm trying to read a PNG image file written in 16-bit data type. The data should be converted to a NumPy array. But I have no idea how to read the file in '16-bit'. I tried with PIL and SciPy, but ...
Eisler asked 17/9, 2015 at 4:36

2

Solved

I have a kernel that outputs a texture, and it is a valid MTLTexture object. I want to save it to a png file in the working directory of my project. How should this be done? The texture format is ...
Helpmate asked 21/10, 2018 at 22:32

5

Solved

When I click on an image link right now, Chrome downloads the image instead of opening it. Even if I right-click and select Open link in new tab Chrome still downloads the image, and I have to go t...
Fungicide asked 1/2, 2012 at 14:45

16

Solved

Is it possible to capture or print what's displayed in an HTML canvas as an image or PDF? I'd like to generate an image via canvas and be able to generate a PNG from that image.
Manageable asked 29/5, 2009 at 0:28

6

Solved

If I get a NSData which I know it's a image's data.But I don't know what format it is. So how can I identify which image format is it?Jpeg or PNG? PS:iOS
Ramonitaramos asked 2/9, 2011 at 9:2

5

Solved

I have a logo that i am trying to make appear in my html page. For some reason it wont appear on my webpage. When i loud my webpage all i see is a square box with an x on it were the picture should...
Rigatoni asked 3/5, 2016 at 17:21

4

Solved

I have a stack of hundreds of pictures and i want to use pngcrush for reducing the file sizes. I know how to crush one file with terminal, but all over the web i find parts of explanations that as...
Podvin asked 22/6, 2011 at 10:8

5

Solved

Are there any open source libraries that I can use?
Oculomotor asked 2/12, 2011 at 19:59

3

Solved

I'm trying to write (using libpng) an 16-bit grayscale image where each point color equals to sum of its coordinates. The following code should produce a 16-bit PNG, but instead produces 8-bit like...
Carton asked 11/1, 2012 at 11:8

2

What are the Pros and Cons of using each of these? For example, would it be possible to say which one loads the fastest? Is one resolution, image quality better than the other? data:image/svg+xm...
Doublestop asked 1/11, 2017 at 21:50

6

Solved

So I have a folder with thousands of image files, all of them saved as .jpg. The problem is that some of those files are actually PNG image files, so they don't open in a lot of programs, unless I...
Gentlefolk asked 6/6, 2015 at 15:54

3

I thaught they were the same. But these days I found png and targa textures behaves differently in UE4. Today I read something at Adobe, Alpha channels can contain anything, while transparency...
Puncheon asked 29/1, 2017 at 2:14

3

Solved

How can I convert my android vector drawable to SVG? Don't mark it as duplicate question. I have already tried those methods but didn't work, what I have tried https://shapeshifter.design/ website,...
Luminal asked 23/6, 2020 at 17:7

2

Solved

Xcode optimizes png images so they are loaded faster, but is this also recommended for other image resources that are not for buttons and UI (Photos for example)? Or is it a standard to have UI im...
Palstave asked 29/3, 2012 at 1:57

9

Solved

I have a dot file generated from my code and want to render it in my output. For this i have seen on the net that the command is something like this on cmd dot -Tpng InputFile.dot -o OutputFile.pn...
Mvd asked 15/3, 2011 at 18:20

3

I have a list of .png images. I need to convert all of them into one pdf, 9 images per page , but not to place them one after another vertically, but fill in all the width, and only then continue t...
Roughshod asked 1/12, 2016 at 9:7

12

Solved

I'm trying to convert a PDF to a PNG image (at least the cover of one). I'm successfully extracting the first page of the PDF with pdftk. I'm using imagemagick to do the conversion: convert cover....
Osrock asked 17/3, 2009 at 8:18

4

Solved

I have a 1 dimensional array of bytes, with separate values for A, R, G, and B, and I know the height and width of the expected image. How can I encode this data and save it as a PNG?
Mileage asked 25/8, 2015 at 11:55

2

I am making a generator for converting text into an image. Everything is done, but I need to convert my react-component to an image with a button click. Just looking for tips and links to websites....
Tisiphone asked 18/9, 2019 at 12:6

3

Solved

I am trying to create new empty image with width and height and save it as png to file. This is what i got: var myImage = new Image(200, 200); myImage.src = 'picture.png'; window.URL = window.w...
Ronironica asked 21/3, 2017 at 16:15

4

Solved

I want to set the quality factor when I encode a canvas element to jpg. var data = myCanvas.toDataURL( "image/jpeg" ); It does not give me a quality option. Is there an alternative library I can...
Dogfish asked 17/1, 2013 at 16:24

4

Solved

I have an image with a PNG extension. I suspect it's not really a PNG though (I think it might be a GIF). How can I confirm an image's encoding? NB: A solution for Windows would be preferable
Summerwood asked 24/2, 2017 at 12:9

2

Solved

How can I put 2 chunks of code side by side in the output file of RMarkdown or Quarto ? Code library(dplyr) mtcars %>% select(gear) library(dplyr) select(mtcars, gear) Desired layout in the PD...
Carrack asked 29/7, 2022 at 12:32

1

After processing a previously optimized indexed color PNG image with transparency (see here for some background, since this question refers to the same image file), using the following code, the PL...

5

To be able to use my icons, I upload them to fluttericon.com but it only accepts svg files. Since my icons are in .png format, I'm using a converter to convert them into svg. After the conversion, ...
Dorinda asked 8/2, 2020 at 21:44

© 2022 - 2024 — McMap. All rights reserved.