Questions tagged as 'imagem'

3
answers

How to create a solid mask from a semi-transparent Bitmap?

I want to create the right image from the one on the left. And I have the following structure: var Image, Mask : TBitmap; begin Mask := TBitmap.Create; Image := TBitmap.Create; Image.LoadFromFile('Yoshi.png'); // Criação da más...
asked by 09.04.2014 / 19:23
2
answers

How to generate noise in an image using python?

How to generate periodic noise of type Moiré in a grayscale image using Python?     
asked by 22.02.2014 / 02:17
2
answers

Image rotation in java

I need an algorithm to rotate an image in java. On the internet I found a promising algorithm in this link , and I gave a tidy up in it and adapted to use angles in degrees. It looks like this: public static BufferedImage rotateImage(Buffered...
asked by 02.02.2014 / 06:06
3
answers

How to crop an image to the center when uploading the same

In the project here I want to display the images in a square-sized dynamic div where its maximum size is 240 x 240. Assuming a user uploads an image with a rectangular dimension (eg 500 x 280), that same div becomes "disfigured" since its hei...
asked by 31.08.2014 / 03:42
2
answers

How to access the print screen image?

When we press the Print Screen key on our keyboard, the screen image is saved in some memory cache, somewhere, because when we give Ctrl V after, in Paint for example it apararece, how to access the location and "catch" the image from ther...
asked by 05.05.2014 / 14:04
2
answers

How to load default image if src="" can not find?

Is there any way to load a default image using only HTML , if the first src="" can not find the file? <img src="ola_mundo.png" alt="Olá Mundo"> // Existe algum atributo para isso?     
asked by 22.11.2016 / 14:14
5
answers

Line with image in the middle

I wanted to stylize a hr that would support an image in the middle. Type:    ------ image ------ I thought about making the image already with a line ready in Photoshop, but this makes it difficult to be responsive. Is it possib...
asked by 10.08.2015 / 15:12
2
answers

Is it possible to do this with CSS?

As shown in the video below, Sony Spherize makes it look like the character in the photo is "breathing", is there any way to do the same, or simulate something like CSS? Linktovideo: link Or would it be better to create a GIF of t...
asked by 21.12.2016 / 01:13
2
answers

Uploading Images

I'm trying to upload images to my application. I did a prototype of upload, only it does not show the image, but the ID or NAME of it. And I'm uploading to a folder I've created in my project. My questions are: How do I show this image?...
asked by 29.04.2014 / 15:27
2
answers

How can I convert PNG to JPG in C #?

I'm working on an old project that uses ASP Site. I need to convert PNG image to JPG. How to do this? Note : I do not want to rename the file, I want to transform the mime from image/png to image/jpeg .     
asked by 24.11.2017 / 16:50