Questions tagged as 'imagem'

1
answer

Two effects with javascript in one image

I want to put two effects with javascript in an image. the First would make the image appear to appear once and from there it would be glowing frequently. Is it possible? <div id="logo"> <a href="index.html">...
asked by 01.06.2016 / 21:45
1
answer

Importing galleria images into the Android app

I am putting together an App in which I want it to allow, through a button, that I choose images from the gallery and include and save within the application. But I have a problem with IMAGE_GALLERY_REQUEST because NetBeans says it can no...
asked by 23.01.2016 / 17:35
1
answer

PHP generating image with accents "bugados"

I'm generating an image, which is basically a simple text. Only the text gets the accents "bugados", all incorrect, even I defining the coding for utf-8. Here is the code: <?php header('Content-Type: image/png; charset=utf-8'); draw("...
asked by 08.07.2015 / 00:16
1
answer

Change according to page

Hello. I need the logo of the site to change according to the page that the user visits. I have a site made in PHP in which the top is include . So I thought about changing the logo via Javascript. I set ID="logo" to img a...
asked by 08.03.2015 / 19:46
2
answers

Setting a time to close an image when opened

I have a question about how to set a time for image that was opened close. Would it be a tie? I'm using ImageView : <ImageView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/im...
asked by 27.01.2015 / 16:55
1
answer

Read file in binary

Hello, I'm saving a file in binary format and trying to open the same binary. However, I'm not getting the expected result. Here are the writing and reading functions. I am saving a .ppm format image, but when I try to bring it back to ASCII fil...
asked by 12.11.2014 / 01:04
1
answer

Resize image in java

I have the following problem. I have an application that takes an image and loads it into a buffer and then I have to resize it. However, using the getScaledInstance() method the image loses a lot of quality. Below the portion that l...
asked by 16.12.2014 / 20:04
1
answer

Help to superimpose text in image

Good evening. I would like your help to put text from a certain .css class over an image. You can better understand what I need to access the site Agência Stage , so on the first page we have the slogan    Communication and marketing   ...
asked by 17.05.2018 / 08:32
1
answer

Check the predominant color in the image

I have the following code that I will put below, which is responsible for picking up the image from which the user places. In this case, the variable img returns me only the url of the image. I wanted to get the image and see what color p...
asked by 17.05.2018 / 03:08
2
answers

function imagecreatefrompng () does not exist - error undefined function

I'm trying to save a png image, and when I run the error script: Fatal error: Uncaught Error: Call to undefined function imagecreatefrompng() But from what I've seen, this function is native to PHP: link     
asked by 02.05.2018 / 16:21