Questions tagged as 'redimensionamento'

1
answer

Resize an image in a canvas element with js

Problem Image resizing with JavaScript Possible Solution Use the canvas element to redraw the image, resize it and then render the image again. Below are two use cases that are merely illustrative, because the sizes of the imag...
asked by 22.06.2015 / 01:20
1
answer

lock R to resize the window

In% w / o, you can grab and hold a device, draw an image, and flush the graphic render. This is useful for complex screen situations with hundreds of dots and / or color gradients, since without holding it the device would be updated with every...
asked by 27.06.2018 / 15:39
1
answer

Why does the size of the JFrame exceed the size of its ContentPane, even if it has a defined size?

I noticed a strange behavior between containers in the swing. To exemplify the test, I created a JFrame and a JPanel , and set the panel to contentPane of JFrame . Set the preferred and maximum size of the JPanel t...
asked by 10.05.2017 / 20:00
1
answer

How to maintain the aspect ratio of the screen after being resized by the user?

I need to restrict a certain proportion of a JFrame so that the layout of what I want to display on it is not distorted, but I would not want to have to block resize with setRezisable() . The minimum aspect ratio for testing is 350x500 (7:...
asked by 29.09.2017 / 13:06
1
answer

How to quickly scale a bitmap

I am making a game using SurfaceView and I need a bitmap to have, for example, a size of 20x20, but this bitmap is reused in other parts of the code in different sizes, ie it would not be viable to have it already the proper dimensions because i...
asked by 21.06.2018 / 17:25
2
answers

Proportions of an image resized with OpenCV?

I have a project where I need to identify objects in an image, I am currently using the OpenCV library in C ++. I used the warpPerspective() function of OpenCV on a 605x141 size image to resize its perspective to a 674x35 size image. When...
asked by 10.09.2016 / 18:41
3
answers

Abbreviate content inside cell (HTML table)

I have a table that is made up of values that are pulled from the database .... This table has the predefined size, and it happens that when the pulled value of the bank is larger than the cell, it resizes and messes everything up ... Exa...
asked by 08.09.2015 / 16:31
0
answers

Uploading images with manipulation using WideImage

Good evening! I would like to upload a maximum of 5 images and at the same time manipulate them with the WideImage library. But with the code done so far, only the upload is working. I'm using the library for the first time, so I do not have so...
asked by 12.05.2018 / 00:05
1
answer

Adjust columns of a DBGrid

I have a problem getting a function where I do the same thing as Excel (Resize columns). For example: Lookatthehuge,unnecessarycolumnspacing.Iwouldlikeafunction-basedsolutiontobeabletoperformREDIMENSIONAMENTOofthecolumnsafterthesearch.Inc...
asked by 13.11.2015 / 11:56
1
answer

Resize elements according to the size of the form

I have GroupBox within a Form that has the following pattern: Padrão de tela - Form: 1290;700 - GroupBox Principal: 1260;600 This Form is opened through MDI. I use a function to center this form according to the size o...
asked by 03.03.2016 / 16:48