Tag: image

52 votes
11 answers
1.2K views
Run a Docker image as a container

After building a Docker image from a dockerfile, I see the image was built successfully, but what do I do with

avatar
Jeff
0 1 0 9
asked 07 September, 2021
47 votes
27 answers
2.3K views
How to remove old and unused Docker images

When running Docker for a long time, there are a lot of images in system. How can I remove all unused Docker i

avatar
Lawanda
0 1 0 9
asked 07 September, 2021
55 votes
29 answers
2.4K views
Where are Docker images stored on the host machine?

I managed to find the containers under directory /var/lib/docker/containers, but I can't find the images.

avatar
Elicia
0 1 0 9
asked 07 September, 2021
65 votes
28 answers
1.9K views
What is the difference between a Docker image and a container?

When using Docker, we start with a base image. We boot it up, create changes and those changes are saved in la

avatar
Brianne
0 1 0 9
asked 07 September, 2021
55 votes
10 answers
755 views
Representing and solving a maze given an image

What is the best way to represent and solve a maze given an image? Given an JPEG image (as seen above), wha

avatar
Serina
0 1 0 9
asked 07 September, 2021
59 votes
7 answers
2.6K views
Drupal 8 images with image style

In drupal 7, i use function image_style_url('style', uri) to generate new image with style and retur

avatar
Ali
0 1 0 9
asked 07 September, 2021
54 votes
20 answers
1.8K views
How to make layout with rounded corners..?

How can I make a layout with rounded corners? I want to apply rounded corners to my LinearLayout.

avatar
Trudy
0 1 0 9
asked 07 September, 2021
54 votes
19 answers
2K views
Can an ASP.NET MVC controller return an Image?

Can I create a Controller that simply returns an image asset? I would like to route this logic through a cont

avatar
Basil
0 1 0 9
asked 07 September, 2021
69 votes
12 answers
2.1K views
scipy: savefig without frames, axes, only content

In numpy/scipy I have an image stored in an array. I can display it, I want to save it using savefig without a

avatar
Robyn
0 1 0 9
asked 07 September, 2021
56 votes
9 answers
694 views
Numpy Resize/Rescale Image

I would like to take an image and change the scale of the image, while it is a numpy array. For example I hav

avatar
Tuan
0 1 0 9
asked 07 September, 2021
57 votes
10 answers
595 views
How do I convert a numpy array to (and display) an image?

I have created an array thusly: import numpy as np data = np.zeros( (512,512,3), dtype=np.uint8) data[256,256

avatar
Tana
0 1 0 9
asked 07 September, 2021
61 votes
20 answers
2.9K views
Saving a Numpy array as an image

I have a matrix in the type of a Numpy array. How would I write it to disk it as an image? Any format works

avatar
Percy
0 1 0 9
asked 07 September, 2021
62 votes
8 answers
1.2K views
How to convert a PIL Image into a numpy array?

Alright, I'm toying around with converting a PIL image object back and forth to a numpy array so I can do

avatar
Basil
0 1 0 9
asked 07 September, 2021
53 votes
25 answers
1.1K views
How can I change image tintColor in iOS and WatchKit

I have an UIImageView called "theImageView", with UIImage in a single color (transparent background) just like

avatar
Don
0 1 0 9
asked 07 September, 2021
51 votes
30 answers
2.3K views
Loading/Downloading image from URL on Swift

I'd like to load an image from a URL in my application, so I first tried with Objective-C and it worked,

avatar
Lorenzo
0 1 0 9
asked 07 September, 2021
64 votes
19 answers
1.7K views
How do I combine a background-image and CSS3 gradient on the same element?

How do I use CSS3 gradients for my background-color and then apply a background-image to apply some sort of li

avatar
Jesenia
0 1 0 9
asked 07 September, 2021
46 votes
30 answers
3K views
How to vertically align an image inside a div

How can you align an image inside of a containing div? Example In my example, I need to vertically center the

avatar
Corey
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
2.3K views
How do I auto-resize an image to fit a 'div' container?

How do you auto-resize a large image so that it will fit into a smaller width div container whilst maintaining

avatar
Tuan
0 1 0 9
asked 07 September, 2021