Questions tagged as 'imagen'

1
answer

Problem with imagecopy () throws error

I have this function but when I run it, it throws me this error:    imagedestroy (): supplied argument is not a valid Image resource       imagecopy (): supplied argument is not a valid Image resource       imagejpeg (): supplied argument i...
asked by 14.12.2017 / 17:40
1
answer

I get an error when saving image: A generic error occurred in GDI +. C #

It turns out that I'm trying to save an image on my computer, but I get the following error:    A generic error occurred in GDI +. The code I have is the following: private static void StartBrowser(string source) { var t...
asked by 03.12.2017 / 20:09
1
answer

How to resize an image in a JPanel?

Good morning friends, is my first question on this website, I would like you to help me a little with this code ... This is the code I am using, it returns the image with the initial dimensions of the jpanel; what I want is that by maximizing...
asked by 11.11.2017 / 18:10
3
answers

Remove the white background from my image png

I am working on an application in Android Studio and I have read in several threads that to remove the background in my buttonimage I have to put in its Android properties: Background="null" . Indeed the background is removed and...
asked by 02.10.2017 / 10:40
2
answers

Create an image from a dataframe using Python

I am trying to create an image of a specific size of pixels and draw in it several trajectories that I have ordered in a dataframe by x and y coordinates. An example of how the dataframe looks with 2 trajectories would be like this: In [60]: d...
asked by 18.09.2017 / 22:30
1
answer

Convert color image indexed in java

I have an image stored in a BufferedImage in color RGB (although it could well be another) and I need to convert it to color indexado with Java . Any ideas on how to achieve this? Thanks in advance.     
asked by 01.08.2017 / 19:15
1
answer

place an image to Label in javaFx

I would like to put an image at label of the Fx library. I have tried but I can not find any method that has this function. Label label= new Label(); label.setBackgraund();     
asked by 06.06.2017 / 16:36
1
answer

Extract 2 satellite image files in a list within ".tar.gz"

I have a list of Landsat satellite images. Within the tar.gz file are the bands ex: File " LC08018051fecha.tar.gz " Contains:    LC08_fecha_band1.tif   LC08_fecha_band2.tif   LC08_fecha_band3.tif   LC08_fecha_band4.tif   LC08_fecha_ba...
asked by 08.06.2017 / 17:44
1
answer

Several panels with transparent background in a form

I'm doing a layout of setting up a restaurant room, with its tables, stools, bar, etc. I have it almost finished, but I have a design problem that I can not solve. You see, I can add objects to the room (these objects have a transparent backgr...
asked by 11.01.2017 / 16:59
2
answers

(CSS basic HTML) Text box disappeared and the images are scattered on the page

In a school project I have to make a basic page with CSS that looks like this: But when entering the code, which I show below, the top is fine but the bottom disappears textbox "cuadrote" and the two images are very poorly accommodated: /...
asked by 04.04.2017 / 18:28