Questions tagged as 'imagem'

1
answer

How to resize an image in C #?

I'm working on an application that receives images. It turns out that the client sometimes sends these images with a very large resolution, which is not necessary in our case (reaching 7MB). I need the image to be at most 1200 wide (the resol...
asked by 08.03.2018 / 13:08
2
answers

PHP condition for not displaying image when it does not exist

My problem is as follows. I have a table with several product images, but not all products I have 5 images (total BD columns). what I wanted was to "undo" the html line when the image does not exist. I tried this code <?php  if (!empty($ima...
asked by 01.12.2015 / 17:43
3
answers

Place an image in the center of another image in PHP

I have a .png image of eg 200x200px. I need it to stay 300x300px, but without enlarging the image, just putting it in and centering on a white square of 300x300px. Is this possible? How can I centralize this image? Remembering that I ne...
asked by 07.11.2015 / 23:04
1
answer

Manipulate images in base64 with PHP

I have some basic64 encoded images in PHP. I need to resize these images by setting a maximum size for them before storing them in the database. How can I do this?     
asked by 07.07.2016 / 16:35
3
answers

Inserting image with JasperReport via parameters

I'm learning a little about jasper / ireport and I'm having some trouble generating a report with an image. I followed some tutorials I found on the internet but I'm making some mistake that I can not see. My test report is extremely simple....
asked by 11.07.2014 / 16:10
2
answers

Upload and structure for storing images in Laravel

I started to build a portal, using Laravel, which has the following requirements: users, places belonging to users and classifieds belonging to users . As each of these requirements requires images, I would like to know the best method for s...
asked by 15.01.2014 / 12:23
1
answer

How to identify patterns in color?

I have an image and loop through each pixel of it. I need to identify the color of the pixel: - It's a light or dark color; - And the tonality of it (for example if it is bluish or reddish, greenish, etc ...). I'm using the RGB values as...
asked by 16.10.2015 / 15:29
2
answers

How can I tell if a source is free to use, even commercial

I'm starting to want to make icons, but I want to do the right thing. I have a doubt. How can I tell if a font is available for general use. I do not even know if this is the place to post this, but come on. For example. I'm using sans-ser...
asked by 12.04.2017 / 15:25
1
answer

C ++ - Convert Mat to array of integers in Opencv?

I'm doing an image manipulation project using OpenCV . I need to parse the pixels values of a "binarized" image, for this I am trying to convert my Mat file image to a array of integers, more specifically an array of integers. I'm tryi...
asked by 02.09.2016 / 21:20
2
answers

How to optimize images?

I was following some advice from PageSpeed Insights from Google and one of them is:    Formatting and properly compressing images can save many bytes of data. In the meantime I've optimized them with a program - JpegMini - and even then...
asked by 27.06.2017 / 21:13