Android: SDK and Emulator totally bugged... What could be the problem?

My emulator and SDK package were working fine literally one hour ago. I try to edit the code in the manifest file and BAM! All of a sudden, when I run my applications, the emulator freezes,...

How to implement an eraser for a drawing app in Android

I have been searching all evening for some way to implement an eraser function for my drawing app. The most common answer is to simply paint the background color or image in, but this solution...

How do I make a header that remains in the top at all times?

I want to make a header like http://www.chacha.com (doesn't move, is about that wide and that height, and able to fit divs inside it and also has to be an image) I am starting off with a blank...

How to run gmic from command line cmd windows gimp

I am looking up on the Internet for hours and can't get to how to execute a command on the command prompt that does something out of gimp files and furthermore get to apply filters to images with...

Google Play Store: You need fix your high-res icon. It is not a valid image

This is the error message I get when attempting to give my app an image on the play store. Here is the image. It was created in GIMP. Please help, this is keeping me from getting my app up.

Strange Bitmap using 1 Mb of Heap

Out of curiosity, I just recently tested my Android App for Memory Leaks, using the Eclipse Memory Analyzer. I came across a strange Bitmap with the size of 512 x 512 pixels using up about 1...

git pushes with wrong user from terminal

I have an issue with git and my terminal. Here's a gallery to show you my issue : http://imgur.com/a/6RrEY When I push commits from my terminal, git says I push them with another username, that's...

converting png to c header for sdl

I want to say, I have searched in the internet about this topic, but it doesn't apply to my situation. I was doing modifications for a game that uses C and I'm editing the images for use for the...

Using RSVG to convert svg with non-local image

I've got an SVG image as follows that I'm trying to convert to a PNG: <?xml version="1.0"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <image x="0"...

PHP - "FPDF error: Not a PNG file", but the image is

I'm currently running into a very odd issue with fpdf. I found a similar question with no answer: https://stackoverflow.com/questions/25980078/not-a-png-file-in-fpdf. I have an image uploaded...

Detect corrupt JPG images in python (which module/library can do it)

I read JPG's from an IP-camera and want to detect corrupt images. This is my function to load the image: from PIL import Image def getImage(self): r=self.http.request('GET', self.snapshotURL,...

Minecraft Modding ".bindTexture" doesn't work

I had a problem programming my first Minecraft Mod. Here is the source code: Events.java: public class Events { @SubscribeEvent public void onRenderGameOverlay(RenderGameOverlayEvent...

How to change white background for black

In a recent project I have to manipulate images, but since this is new to me I am kind of lost. I need to scan the hand using a regular scan device. I could acomplish this but the background is...

calling a gimp-fu function from an external module

I'm trying to write a sort of wrapper library for GIMP to make my generative art projects easier, but i'm having a problem interfacing with gimpfu from a my wrapper module. The following plugin...

Python-fu script not showing in Gimp menu

I’ve been at https://stackoverflow.com/questions/17334993/gimp-python-script-not-showing-in-menu and it didn’t help me. Here’s what I tried, step by step: 1. I’m running Gimp 2.8.16 on Mac...

Gimp Python plugin loading image disables undo history

I have a set of images that I am trying to process manually, so I wrote a simple plug-in to try and help make it a little less painful. The images are numbered sequentially. So when I finish...

How to fill transparent area left by resize in Gimp 2.8

when I do a canvas resize of an image, it leaves a new transparent area. I would like to fill that area with a color but Gimp 2.8 won't allow me to select it to fill it. I must be missing a step....

JPEG encoding store encoded data

I'm implementing the JPEG encoding and writing it in a JFIF container. The original image (bitmap): My encoded JPEG: encoded JPEG with The Gimp (quality 50 and basic settings): I'm trying to...

Strip automatic P tags around images, videos, iframes in WordPress 4.9

THE ISSUE I'm trying to size my YouTube video that I'm inserting and I got some working CSS to style it correctly, but the fact that WordPress keeps adding <P> tags around my video, image, and...

Letter keys blurred on custom keyboard while Special keys super crisp

I am a linguist, not a programmer. With the help of an example, a few books and this forum I have created a custom keyboard for a minority language and have manged to turn the background from ugly...

Automating Simple Photoshop with Python

The business I work for creates laser engraved custom products. The engraver machine requires files to be in the psd format. Our website enables users to select a template and enter in what text...

ImageMagick rotate and crop batch images

I'm trying to use ImageMagick to emulate the rotate and crop function of Gimp to use it on a batch of images. What I would do in Gimp is to open the .jpg image, use the rotation tool with the...

Why ffmpeg is skipping some images?

I'm trying to create a slideshow with cross-fade effect using ffmpeg. As mentioned, another SE question, I'm using the following line for this purpose. ffmpeg -i SEQ_%03d.png -i $AUDIO -vf...

How to detect water level in dirty transparent tank with computer vision?

I've just started my first computer vision project where I need to measure the level of rain water in an outside tank. The tank is white but not opaque so that the water can be seen (it is...

Python - draw gradient into selected irregular area of image

I was thrown into graphics and Python in my new project, but I'm completely green and I need some help/guidance what to do. Here is my problem: I need to create the graphics for screen, which will...

How can I correctly add the alpha channel to an image extracted from a PDF using PyMuPDF

I am trying to extract images from a PDF using PyMuPDF and this recipe. For some images with a hard edge transparency it works. But for images with a matte transparency, I get artifacts along the...

Iterate through nested GIMP groups to retrieve an array of layers

I'm new to python and writing GIMP plugins. I'm trying to write a simple plugin to perform search/replace on layer names. I've managed to get it working with a 'flat' gimp image, but can't figure...

Imagemagick stack images overlapping with transparency

I am fighting this for two days now... without success. Some task I have done with Gimp for some time but I like to make it automated now for standard processing. So the result should look like...

Change active transparent .png background color in python

I am trying to automate this Gimp Feature, which can change the active background color in a transparent .png file from white to black. The background is somehow saved with the picture but still...

How to calculate text to background color from an image?

First let me say that I am starting the journey with computer vision so I would be grateful for any idea! What I need to do is to calculate the contrast between a text and a background on an...