Questions tagged [graphic]

464 questions
49
votes
4 answers

What is the "Feature Graphic" for Android apps?

I simply cannot find any documentation on what I'm supposed to include in my Feature Graphic. The only info listed is: 1024w x 500h 24 bit PNG or JPEG (no alpha) Will be downsized to mini or micro But what content should it include? Thanks for any…
Kenny Wyland
  • 20,844
  • 26
  • 117
  • 229
28
votes
2 answers

python 3D visualization and graphics

I am looking for Python compatible 3D graphics. Mostly I would like to be able to draw lines and view them in 3D. I literally have no experience in this area and am looking for knowledge and tutorials. I learn programming best by experimentation. So…
CodeKingPlusPlus
  • 15,383
  • 51
  • 135
  • 216
24
votes
1 answer

Difference between tessellation shaders and Geometry shaders

I'm trying to develop a high level understanding of the graphics pipeline. One thing that doesn't make much sense to me is why the Geometry shader exists. Both the Tessellation and Geometry shaders seem to do the same thing to me. Can someone…
Andi Jay
  • 5,882
  • 13
  • 51
  • 61
22
votes
1 answer

Is Intel based graphic card compatible with tensorflow/GPU?

Is this graphic card compatible with tensorflow/GPU ? *-display description: VGA compatible controller product: Haswell-ULT Integrated Graphics Controller vendor: Intel Corporation physical id: 2 bus info:…
Mohamed Achraf
  • 311
  • 1
  • 3
  • 10
16
votes
3 answers

Java library to create graphs

What is best and easy to use library for Java graphs? I am working with Swing application and need to integrate a graph for that project
Keshan De Silva
  • 839
  • 1
  • 11
  • 25
15
votes
2 answers

SDL2: Generate fully transparent texture

How using SDL_CreateTexture create transparent texture? By default I'm creating texure with such code: SDL_CreateTexture(renderer, SDL_PIXELFORMAT_RGBA8888,SDL_TEXTUREACCESS_TARGET, x, y); And then I'm paining on this texture with redirecting…
Lemonek
  • 175
  • 1
  • 1
  • 10
14
votes
3 answers

writing png plots into a pdf file in R

I have to create a bunch of graphs with a lot of data points. So far, I've been doing this by plotting all of them into one pdf-file: pdf("testgraph.pdf") par(mfrow=c(3,3)) for (i in 2:length(names(mtcars))){ plot(mtcars[,1],…
AnjaM
  • 2,941
  • 8
  • 39
  • 62
12
votes
5 answers

NES Programming - Nametables?

I'm wondering about how the NES displays its graphical muscle. I've researched stuff online and read through it, but I'm wondering about one last thing: Nametables. Basically, from what I've read, each 8x8 block in a NES nametable points to a…
Jeffrey Kern
  • 2,024
  • 20
  • 40
11
votes
3 answers

How does a computer draw the screen?

How does a computer draw anything to the screen at the lowest level (nothing about external libraries like X11)? Are there supposed to be assembly commands that do this? How exactly does the CPU control what appears on the screen?
Jonathan
  • 177
  • 2
  • 7
10
votes
2 answers

I have a few EMF files. How I can convert them into ps/pdf/tiff on Linux?

I have few EMF (Enhanced Windows Metafile) files. How I can convert them into ps/pdf/tiff on Linux (CentOS 5.x)? Command line interface is preferred.
Anton Shevtsov
  • 1,279
  • 4
  • 16
  • 34
9
votes
3 answers

convert RGB to grayscale in C

I used many formulas to convert from RGB to grayscale, but didn't get good results compared to GIMP. I already tested the following formulas: gray = (int)(0.299 * r + 0.587 * g + 0.144 * b); gray = (int)(0.299 * r + 0.587 * g + 0.114 * b); gray =…
user2000255
  • 91
  • 1
  • 1
  • 3
8
votes
3 answers

How to produce a unitary thumbnail for a billion of png images?

In the application, there are about 1 billion of png images (size 1024*1024 and about 1MB each), it needs combining the 1 billion images to a huge image, then produces a size 1024*1024 unitary thumbnail for it. Or maybe we don't need to really…
Suge
  • 2,808
  • 3
  • 48
  • 79
8
votes
1 answer

Determine if an image file is a photo or a graphic?

I'm embarking on what I believe may be somewhat of an experiment... To come up with (or discover, as it could already exist) a method to determine whether a given image file, regardless of format, is a photo or a graphic. "Photo" meaning something…
user1076122
  • 115
  • 5
8
votes
4 answers

How to display tree hierarchy in Java?

I have a table in a database named "Process" This process table has 3 fields: process_id process_name process_parent_id Now I want to display this parent child hierarchy in Graphical format. So could you please suggest me the following: Q1. Which…
Amit
  • 33,847
  • 91
  • 226
  • 299
7
votes
3 answers

Rotate rectangle points individually distort the rectangle

I'm trying to rotate a rectangle by rotating its points , using this code var dx,dy:real; rotp:Tpoint; begin dx := (CenterPoint.Y * Sin(angle)) - (CenterPoint.X * Cos(angle)) + CenterPoint.X; dy := -(CenterPoint.X * Sin(angle)) -…
Sara S.
  • 1,365
  • 1
  • 15
  • 33
1
2 3
30 31