Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Hot answers tagged

32

You can do a lot of things with vector graphics, eventually however the vector graphics need to be rendered to pixels, rasters etc. This rendering process gets slower the more data you have. In fact 3D graphics is also a vector graphic data. 3d renders show the limitations of your rendering speed as many renders to print size take hours to do. Image 1: 3D ...


19

(that's Illustrator on the left, Photoshop on the right) Raster images are just grids of pixels, like what comes out of a digital camera or a scanner. The file doesn't know what those pixels mean. Web images and digital paintings are most often raster. Adobe Photoshop, GIMP, Krita, Corel Photopaint and Pixelmator are primarily raster (some have a few very ...


18

While vector images have many advantages, they also have shortcomings. Vector data is, in general, better suited for items which have hard edges. Vector graphics do not excel at creating soft edges areas or shapes which blend into other soft-edged shapes. Yes, you can use raster effects in many graphics applications to blur or "undefine" the edges of ...


18

This isn't how graphic design works. You have a raster file, meaning the text cannot be edited very easily. It's essentially a photograph of a business card. See What are the differences between vector graphics and raster graphics? for more information about what this means. In order to edit anything you either need a working file or to manually make ...


17

The development version of Inkscape (upcoming 0.91 release) has a global anti-aliasing toggle in the Document Properties window, which should also work for export. Look for "Development Versions" on the download page: http://www.inkscape.org/en/download/


15

I had this problem. Back when I was a student and recent graduate, I hated working with vectors and would do essentially all my creative work in Photoshop, reluctantly switching to Illustrator to "vectorise" my completed, signed off design to create the final artwork. Getting a job where I had to produce data-driven graphics at short notice where working in ...


12

One simple solution is to export to PDF, and then use Ghostcript on the resulting PDF. Using a strawberry image from Openclipart and the command gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m \ -r72 -dGraphicsAlphaBits=1 \ -sOutputFile=image.png image.pdf I get the following result. If your image also includes text, you’ll need to add -dTextAlphaBits=...


12

Without knowing what kind of image you are rasterising, this is kind of a shot in the dark. Yet, here goes: Rasterisation does exactly what the name suggests: making an image into a raster image, also known as a pixel image or bitmap. Rasterisation is usually done to vector graphics or images that have vector components. Vector components can be things like ...


11

The best icon libraries I've seen use an hybrid approach: For most sizes you have a vector graphic that is rendered for whatever resolution you want For the really tiny version (16x16px) you make a separate hand tuned bitmap that often isn't even the same image. Vector graphics is especially useful because today you have systems that can natively render ...


11

I'd say there's no quick and dirty fix for choppy lines, you just gotta recreate it using vectors. The following took me 3 minutes in Photoshop with Circles and Stroke effect: I'm not going to do it all for you, but all you need is two more half circles and you've got a shape based logo, which should scale beautifully to any size. So that's 6 circles, two ...


11

Inkscape 0.91 and above has the ability to toggle antialiasing. This can be accessed through the Document Properties window (Shift+Ctrl+D). When turned on, which is the default, this image of an array of triangles looks like this. When turned off the image looks smoother. As others have mentioned, this currently has no effect on the png export. ...


10

Photographs and pixel-based art can have a real-world fidelity that vector artwork can not easily achieve. In real life, things are not really mathematically precise and clean. One can get greater photo-realism per file-size bit with pixels than with a vector shape. That's not to say you can't achieve near photo-realism with vectors - rather that you'll ...


10

Because some things almost cannot be vectorised. So, in the world of sound almost the same question can be asked: "Why we are still using wave files when MIDI has so many advantages". Yes, MIDI files can be stretched or transposed in any ratio, and file size is hundreds of times smaller. And also, they can be exported in any quality using different samples. ...


9

e100's advice is spot on. A vector application such as Illustrator is the best tool for logo design, whether you start on paper and scan it in, or work directly within the program. This isn't the whole story, however. Scalability doesn't just involve vectors; the detail in a logo must also be adjusted for the size of the finished artwork. Just as with text,...


9

The answer is to create your logo artwork as vector rather than raster graphics. You can then use this artwork directly for print work, or export raster artwork at the size you need for web graphics. While Photoshop has some vector support, if you have Creative Suite, Illustrator is the tool for the job. If you don't, then Inkscape (which is free) is worth ...


9

Tracing In case we can not easily recreate the original in a vector oriented application we may also trace the bitmap to a vector graphic. Below example was done with Inkscape where I imported the bitmap to trace it with 2 color steps: This will not preserve the exact circular geometry of the source (note the slightly wavy shapes above), as tracing was ...


8

The most straightforward way is to open the file in Illustrator, copy, then paste into a Photoshop document. Choose "Shape Layer" in the dialog. Less directly, you could place the file as a Smart Object (or use File > Open as Smart Object), double-click the thumbnail in the Layers Panel to open in Illustrator, then copy and paste. If you don't ...


8

It's the .png format that is the problem. .png is a raster format that will not upsize very well, just like any raster format. You need to save it in a vector format, such as: .ai - You'll most likely want to save everything to this format for your own safe keeping because it retains all editability unlike other formats. You would then save the same file ...


8

The use of vector images in websites has had a bit of a stunted growth due to weak browser support. It was not until version 9 (released 2011) that Internet Explorer included native SVG support. For IE 8 and below, it is necessary to make use of a fallback to ensure consistency across browsers. That's an added step that dissuaded the use of vector images; ...


7

If you go to the Accessibility control panel, you can enable a zoom mode that blows up whatever is being displayed. Using this, you can detect subpixel antialiasing because it shows up as color fringes when magnified. I tried this out and found that, yes, the Retina MacBook Pro does still use sub-pixel antialiasing (when LCD font smoothing is on). Somewhat ...


7

A Retina display is a screen with a high pixel density. Apple's marketing material defines it like so: The pixel density is so high, your eyes can’t discern individual pixels. But at a technical level, the Retina displays on the iPhone, iPod, iPad and MacBook Pro are exactly double the pixel density of the non-Retina models. This is because scaling to an ...


6

In addition to Adobe Illustrator which is clearly the gold-standard of commercial vector graphics tools, you should give some consideration to Inkscape. Inkscape is a vector drawing tool that would be an excellent chose for building scalable logo art. Inkscape is also free and runs on lots of platforms including both Windows and Mac. The key attribute of ...


6

Add an Envelope Mesh. Object > Envelope Distort > Make with Mesh and choose 1 row and 1 column and click OK. Then you can distort the envelope (which contains the raster image). Alternatively, for simpler and symmetric perspective distorts you can use Make with Warp and select any warp. If you then adjust Bend to 0 %, you can use the Horizontal and ...


6

Well I'm an idiot, finding the answer took approximately a minute of fiddling about with illustrator - as opposed to saving the SVG using the SVG Tiny 1.2+ profile, saving it with something like SVG 1.1 or SVG Basic 1.1 completely eliminated the issue.


6

Yes, it can. Embed the original image once and for each other instance of that image use a clone (Edit → Clone → Create Clone) and not a duplicate of the original image.


6

There isn't much you can do, unfortunately. The safest you can do is to make sure the image is in the sRGB color space when exported. The majority of people will be viewing it on monitors within that color gamut. Then just hope the people viewing your image don't have poorly calibrated monitors! If you know the target device it's a bit easier. A few of my ...


5

Never rely on any print provider to do anything other than spit out your file as it currently exists. I would never trust that something will be output in a specific manner to ensure it is as I expect. If you have to provide instructions or notes on how to output, then it's a recipe for error. If you place a 25ppi image in Indesign it never gets "upsampled" ...


5

Personally I would go vector. You can scale endlessly and resize to whatever dimensions you may need. In the past maybe bitmap would have been better because for quality icons you would want pixel perfect icons but now with Illustrators 'align to pixel grid' it makes it easier to get pixel perfect. Illustrator also saves you time because you can make the ...


5

Rasterization can mean different thing in different contexts: In contexts of vector graphics it is the process of turning vector images into pixel images. In context of printing it has a similar meaning but to convert into atomic printer operations. In context of 3D graphics it means one special kind of processing where the polygons are either diced or ...


5

For 3D apps, I think it's easiest to think of the 'building' aspect of the model as being based on vectors, and the 'rendering' aspect being based on raster. To take a very simple example: Sketchup. You can build a 3-D box and rotate it all you want. It's easy to rotate this because it's a set of vector instructions that the computer can quickly re-...


Only top voted, non community-wiki answers of a minimum length are eligible