png Questions
2
Solved
I am trying to install the reticulate package on my Mac and it depends on the png package, which in turn depends on libpng. I installed libpng with brew but the png package fails due to a missing l...
Marcusmarcy asked 20/1, 2022 at 16:0
3
Solved
I am supposed to write a program that gets some PNG images from the user, does some simple edits like rotation and saves them inside a JAR file so that it can use the images as resources. The probl...
Anatomical asked 10/3, 2010 at 17:49
3
I am trying to understand the hex values of a 10 x 10 pixel png image file.
For example: I am using this image http://www.sweethome3d.com/blog/common/images/feed-icon-10x10.png?. I opened it in Su...
3
Solved
I need a way to display a PNG image with transparent background on a background with gradient color.
I have tried this:
CImage img;
CBitmap bmp;
img.Load(_T(".\\res\\foo.png"));
bmp.Attach(img.De...
2
Solved
I am into iOS development from past 1+ months and what I have experienced is that I have to put images for 1x 2x 3x for iphone and then 2x retina for ipad. One of the experienced designers has sugg...
5
Solved
Currently I'm using rsvg to load the svg (from a string, not from a file) and drawing to cairo. Anyone know a better way? I use PIL elsewhere in my application, but I don't know of a way to do this...
7
Solved
Scenario
I would like to save images with alpha transparency as .png and images without alpha transparency as .jpg (even if their original format is .png or .gif). How can I detect whether or not a...
Dominicadominical asked 5/4, 2010 at 22:5
8
Solved
I'm looking for a simple command-line tool (on Linux) to insert a text chunk (e.g. copyright) into a png file, resulting in a new png file:
> png-insert-text-chunk "here's my text chunk" < i...
5
Hi I would like to know if there is any way in Java to reduce the size of an image (use any kind of compression) that was loaded as a BufferedImage and is going to be saved as an PNG.
Maybe some s...
Maida asked 27/4, 2010 at 12:55
7
I made a "down arrow" in illustrator and saved it as a png with a transparent background. When I put it into my webpage as an img, it shows up in the original color, which is okay.
I'm trying to d...
8
I have a black heart PNG image I want to display with different color. How can I change the color of the heart using javascript/css/jquery?
I'm trying to make a shirt designer. So the background i...
Premonitory asked 6/2, 2012 at 16:16
3
Solved
from PIL import Image
img = Image.open('1.png')
img.save('2.png')
The first image has a transparent background, but when I save it, the transparency is gone (background is white)
What am I doin...
Outman asked 5/8, 2009 at 14:50
5
Solved
I'm getting a no image display when resizing PNG however the following code works for JPEG.
list($width_orig, $height_orig) = getimagesize( $fileName );
$ratio_orig = $width_orig/$height_orig;
i...
4
Solved
I'm very new to python, trying to use it to split the frames of a GIF into PNG images.
# Using this GIF: http://www.videogamesprites.net/FinalFantasy1/Party/Before/Fighter-Front.gif
from PIL imp...
Sucker asked 5/2, 2011 at 3:25
5
I'm using Cairo/RSVG based solution for rasterizing SVG to PNG. It's already beeb described on StackOverflow in Convert SVG to PNG in Python.
However, this solution doesn't seem to work with custom...
7
My graphic artist gave me a .PNG file, then the same file as a .GIF. When I save it, the transparent background pixels actually get set to white pixels. At one time I thought VS could do transparen...
Amblyopia asked 23/5, 2012 at 18:48
4
Solved
29
Solved
2
Solved
I have a problem and I don't know how to solve it.
I am trying to make an adaptive android app icon. That's the code for it:
<?xml version="1.0" encoding="utf-8"?>
<ada...
Bernard asked 11/9, 2021 at 23:9
3
Solved
Mac OS
I have a file, images.tar.gz. , which contains about 7000 .png images. I need to unzip this file.
But when I use terminal to unzip it
tar zxvf /Users/JourneyWoo/images_002.tar.gz
I alway...
7
I am trying to convert SVG to PNG (or any raster format) and resize at the same time.
I thought I would use ImageMagick for this task but it seems to be converting to raster before resizing.
This...
Oxbow asked 12/8, 2013 at 16:39
3
Solved
I'm using Rmarkdown to produce beautiful documents (like with LaTex), but there is a problem I can't solve.
I'm printing graph in the following way:
```{r p(s|r)}
pleft=function(x, p=0.5){dnorm(...
Rosenblum asked 14/4, 2018 at 13:45
8
Solved
I'm using PIL to convert a transparent PNG image uploaded with Django to a JPG file. The output looks broken.
Source file
Code
Image.open(object.logo.path).save('/tmp/output.jpg', 'JPEG')
or...
Vaasta asked 6/2, 2012 at 19:58
3
I want to convert a pdf (one page) into a png file.
I installed pdf2image and get this error:
popler is not installed in windows.
According to this question:
Poppler in path for pdf2image, poppler ...
13
I have a canvas element with a drawing in it, and I want to create a button that when clicked on, it will save the image as a png file. So it should open up the save, open, close dialog box...
I do...
Can asked 20/6, 2012 at 3:10
1 Next >
© 2022 - 2024 — McMap. All rights reserved.