Remove Ad, Sign Up
Register to Remove Ad
Register to Remove Ad
Remove Ad, Sign Up
Register to Remove Ad
Register to Remove Ad
Signup for Free!
-More Features-
-Far Less Ads-
About   Users   Help
Users & Guests Online
On Page: 1
Directory: 1 & 177
Entire Site: 5 & 1127
04-25-24 02:13 AM

Forum Links

Thread Information

Views
2,200
Replies
3
Rating
0
Status
CLOSED
Thread
Creator
Taerzik
11-25-08 04:50 AM
Last
Post
Shaedo K
07-16-09 10:55 PM
Additional Thread Details
Views: 170
Today: 0
Users: 0 unique

Thread Actions

Thread Closed
New Thread
New Poll
Order
 

Bitmap vs. Vector?

 

11-25-08 04:50 AM
Taerzik is Offline
| ID: 74483 | 47 Words

Taerzik
Level: 6

POSTS: 3/4
POST EXP: 383
LVL EXP: 600
CP: 0.0
VIZ: 380

Likes: 0  Dislikes: 0
* That's 'bitmap', sorry.

I know enough about why vectors beats bitmap in general but i have a different concern: resources and frame rate. So the question is: between two identical, relatively simple images, one a vector, one a bitmap, which one will slow down Flash more?
* That's 'bitmap', sorry.

I know enough about why vectors beats bitmap in general but i have a different concern: resources and frame rate. So the question is: between two identical, relatively simple images, one a vector, one a bitmap, which one will slow down Flash more?
Newbie

Affected by 'Laziness Syndrome'

Registered: 11-25-08
Location: Austin, Texas
Last Post: 5627 days
Last Active: 5590 days

(edited by Taerzik on 11-25-08 07:40 PM)    

11-26-08 09:54 PM
iBOCK is Offline
| ID: 74585 | 30 Words

iBOCK
Level: 127


POSTS: 3301/4283
POST EXP: 267468
LVL EXP: 23338185
CP: 748.3
VIZ: 115401

Likes: 0  Dislikes: 0
Won't a vector graphic slow it down more, because it isn't an image composed of dots like a bitmap image? (No dots = it can be stretched without being distorted)
Won't a vector graphic slow it down more, because it isn't an image composed of dots like a bitmap image? (No dots = it can be stretched without being distorted)
Vizzed Elite

Affected by 'Laziness Syndrome'

Registered: 05-02-05
Location: the grid
Last Post: 4194 days
Last Active: 3152 days

11-28-08 01:03 AM
Taerzik is Offline
| ID: 74652 | 88 Words

Taerzik
Level: 6

POSTS: 4/4
POST EXP: 383
LVL EXP: 600
CP: 0.0
VIZ: 380

Likes: 0  Dislikes: 0
Vectors have the advantage of remaining sharp no matter how much you stretch them (or shrink them) without becoming pixelated. However, if I understand correctly, they can be hard on Flash because they take longer to generate since Flash has to convert the vector data into a image while a bitmap is more like a collection pixel numbers and their color information. But I'm not entirely sure if that's true. That's what I'm curious about - is it better to use vector or bitmap in regards to framerate?
Vectors have the advantage of remaining sharp no matter how much you stretch them (or shrink them) without becoming pixelated. However, if I understand correctly, they can be hard on Flash because they take longer to generate since Flash has to convert the vector data into a image while a bitmap is more like a collection pixel numbers and their color information. But I'm not entirely sure if that's true. That's what I'm curious about - is it better to use vector or bitmap in regards to framerate?
Newbie

Affected by 'Laziness Syndrome'

Registered: 11-25-08
Location: Austin, Texas
Last Post: 5627 days
Last Active: 5590 days

07-16-09 10:55 PM
Shaedo K is Offline
| ID: 105470 | 372 Words

Shaedo K
Level: 44


POSTS: 253/356
POST EXP: 15551
LVL EXP: 565112
CP: 18.5
VIZ: 19116

Likes: 0  Dislikes: 0
>Which is better about framerate? Vectors or Bitmaps?
It depends on your vectors. Under your likely ability, Vector will probably be faster.

**(I've answered your question. You don't need to read anything below here)**

With bitmaps, (assuming you have an enforced quality, resolution, color depth, etc) any given image will be exactly the same as any other image.

With Vectors, having complex images means that your computer will have a tougher time generating it. Vectors are basically math equations that your computer puts together and generates up lines and fills for (like a graphing calculator). The more lines you have, the more complicated the curves, the more anchor points, the more colors in a gradient, the more layers you have, blending options, graphical effects, all of these things you have, the more difficult it is for flash to display a picture.

Adobe Flash Player displays images using an EXTREMELY inefficient anti-aliasing algorithm that basically results to drawing any given line 3 times over, on high quality.

Displaying bitmaps poses its own problems. Flash invariably has to apply vector transformations on any image displayed by flash player, even if you do nothing to the image, and have it displayed in the exact same resolution, with the same orientation and coloring, on the top layer.

Because a given picture will always be more complex than a single curved line (Consider a straight line as 30 bytes of information, and a picture to be the same number of bytes as the number of pixels in the image, for a simple way to look at it) vectors are faster, at first... but as your videos become more complex (like the quality of some of the best submissions to NewGrounds) it becomes easier for flash to display bitmaps.

On a side note, it's much easier to display VIDEO than a sequence of bitmaps, for reasons that should be obvious (already pre-optimized and using better internal workings than Flash Player's godawful interpreter).

Finally, optimizing your curves (USING THE LINE TOOL INSTEAD OF THE BRUSH TOOL. CUTTING DOWN ON YOUR NUMBER OF ANCHOR POINTS) will make your animations easier to handle...

AND DON'T USE GRADIENTS UNLESS YOU HAVE TO FOR SOME 3D EFFECT. Gradients are worse than bitmaps ALWAYS.
>Which is better about framerate? Vectors or Bitmaps?
It depends on your vectors. Under your likely ability, Vector will probably be faster.

**(I've answered your question. You don't need to read anything below here)**

With bitmaps, (assuming you have an enforced quality, resolution, color depth, etc) any given image will be exactly the same as any other image.

With Vectors, having complex images means that your computer will have a tougher time generating it. Vectors are basically math equations that your computer puts together and generates up lines and fills for (like a graphing calculator). The more lines you have, the more complicated the curves, the more anchor points, the more colors in a gradient, the more layers you have, blending options, graphical effects, all of these things you have, the more difficult it is for flash to display a picture.

Adobe Flash Player displays images using an EXTREMELY inefficient anti-aliasing algorithm that basically results to drawing any given line 3 times over, on high quality.

Displaying bitmaps poses its own problems. Flash invariably has to apply vector transformations on any image displayed by flash player, even if you do nothing to the image, and have it displayed in the exact same resolution, with the same orientation and coloring, on the top layer.

Because a given picture will always be more complex than a single curved line (Consider a straight line as 30 bytes of information, and a picture to be the same number of bytes as the number of pixels in the image, for a simple way to look at it) vectors are faster, at first... but as your videos become more complex (like the quality of some of the best submissions to NewGrounds) it becomes easier for flash to display bitmaps.

On a side note, it's much easier to display VIDEO than a sequence of bitmaps, for reasons that should be obvious (already pre-optimized and using better internal workings than Flash Player's godawful interpreter).

Finally, optimizing your curves (USING THE LINE TOOL INSTEAD OF THE BRUSH TOOL. CUTTING DOWN ON YOUR NUMBER OF ANCHOR POINTS) will make your animations easier to handle...

AND DON'T USE GRADIENTS UNLESS YOU HAVE TO FOR SOME 3D EFFECT. Gradients are worse than bitmaps ALWAYS.
Vizzed Elite
Webcomic Artist


Affected by 'Laziness Syndrome'

Registered: 12-07-04
Last Post: 4224 days
Last Active: 1032 days

Links

Page Comments


This page has no comments

Adblocker detected!

Vizzed.com is very expensive to keep alive! The Ads pay for the servers.

Vizzed has 3 TB worth of games and 1 TB worth of music.  This site is free to use but the ads barely pay for the monthly server fees.  If too many more people use ad block, the site cannot survive.

We prioritize the community over the site profits.  This is why we avoid using annoying (but high paying) ads like most other sites which include popups, obnoxious sounds and animations, malware, and other forms of intrusiveness.  We'll do our part to never resort to these types of ads, please do your part by helping support this site by adding Vizzed.com to your ad blocking whitelist.

×