Questions tagged as 'bitmap'

1
answer

Bitmap Array in a single file

I am making an application for Solidwoks and downloaded some examples, some BMP images are used in it as the following view: TheseimagesareusedasimagesinmenusasfollowsinC#code:BitmapHandleriBmp=newBitmapHandler();cmdGroup=iCmdMgr.CreateComman...
asked by 21.07.2014 / 22:00
1
answer

Every image in android should be treated as a bitmap

I was having a problem uploading images in a TextView , when I came across a pretty dumb question, rs, would anyone know how to respond? Next, I was trying to load a large (high-resolution) image as a background of a TextView , so I figur...
asked by 06.08.2016 / 15:53
1
answer

Generate PPM file

Hello, I have a code to generate an array of colors and a problem to make a sequence, but unfortunately I can not quite understand the logic behind it.    Statement:   Create a color palette where each pixel is colored by the value of x and...
asked by 22.06.2017 / 01:17
2
answers

Generating photo bitmap taken

I'm trying to generate a bitmap of a photo taken: public void onClick(View v) { final Runnable runnable = new Runnable() { @Override public void run() { Intent cameraIntent = new Intent(android.provider.MediaSto...
asked by 17.12.2015 / 20:58
0
answers

Copy existing photo in web link and paste as special bitmap into Excel cell via VBA

I'm trying to paste image (thumbnail) linked to a link as below: Ex. The main WEB page is: link From this main page, I want to copy and paste as a bitmap in Excel the image of the link: www.imdb.com/name/nm0001271/?ref_=tt_cl_i1. See...
asked by 11.08.2017 / 14:48
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

Convert a bitmap image from a URL and set it to an ImageView

I would like to know how to set a URL in an ImageView variable, I do not know if I was clear? private final DisplayImageOptions options; public NoticiasAdapter(Activity activity, List objects) { super(activity, R.layout.noticia_list_ite...
asked by 13.01.2015 / 20:07
1
answer

Why is the Bitmap bigger when loading it from the res / drawable-mdpi folder?

I've developed an application where I download a JPEG image (size 184x274) from a URL. When downloading from the URL I get a bitmap of 184x274 pixels, that is it has the same dimension as the original image. If my original image is in the res /...
asked by 09.02.2015 / 14:25
1
answer

Displaying Bitmap in C # application

I have the following code in my application: Bitmap original = new Bitmap("C:/Projeto/Imagens/antialiasing.jpg"); Graphics g = Graphics.FromImage(original); g.DrawImage(original, 100, 100, 390, 390); However, the original image is no...
asked by 20.11.2016 / 17:00
1
answer

Problem with reading Bitmaps in C

I'm having trouble reading Bitmap files. The results are not expected. Size is always the same regardless of which image I open The height and width do not match the size stated in the image viewer Color values are not always the...
asked by 04.04.2016 / 23:23