Why Are Fpg's Bigger Than The Actual Files You Use


Steve-O

Well-Known Member
Joined
Aug 28, 2003
Messages
4,054
Ok, I have 6mb of JPG's that I put into a FPG but the FPG came out as 50mb!!!!... I then compressed it and it dropped to 16mb, But why is it still so big compaired to the unpacked images??

Is this normal or do I have something set wrong ?
 
My FPGs get smaller :D

I thinks its the JPG format, try having everything as BMP to see the real size :D FPG Edit might uncompress the jpgs (it`s a compressed format) which results in bigger files...
 
ah, only thing is, its something like 633 images and I think BMP will be to big :(

Would Fenix be able to handle 633 images to make a Animation or is that too much ?
 
Fenix decompresses the single images and then stores it uncompressed. Then when all pics are in and settled, it zips up the fpg as a whole. Of course, that only works in memory, when you load it it gets uncompressed before loaded into ram. So unless you have 50 Mb of RAM in your GP, you probably will have to do something to make it smaller :). As Quiest said, saving as BMP will give you a good indication of the final size.
 
If I reduce the image width and height it will make it smaller (Hopefully) :)

OR, Seen as each image is of each single frame, I could delete half the images and you wouldnt realy notice the missing frames :)
 
hehe, Ok, But what if I slow the speed down?

---EDIT---

Ok, Looks ok with the FPS reduced but a little jumpy :p... Looks like shrinking the image width and height in half would be best :)
 
Steve-O posted on Jul 11 2005 at 04:26 PM said:
hehe, Ok, But what if I slow the speed down?

---EDIT---

Ok, Looks ok with the FPS reduced but a little jumpy :p... Looks like shrinking the image width and height in half would be best :)

Theoretically, that would then leave you with 1/4 the file size... yay.
 
Last edited by a moderator:
Quiest posted on Jul 12 2005 at 07:05 AM said:
That would give you crappy pixels :D

What resolutions were you pics anyway?

Started out at 640x480

I resized it to 320x240

Now I might make it Smaller but leave them as 16bit and try stretching it or something :p
 
Last edited by a moderator:
Try making them 160x120, convert your fpg 8 bit afterwards and use size=200; (200%) in the process your showing that movie. If it is still to big, try 80x60 and size 400%.
 
ok, its Very Blocky as I had to go down to 80x60 and zoom in using that size=400; but if you hold the GP32 about 2 - 3 foot in front of you it looks ok :p

Anyone know if the GTA2 Intro video was Copyrighted or if its ok to use it in little hombrew games??? :p
 
ok, tried adding sound but that made it mad :p... the FPS dropped from very good to Very Jumpy and the sound was jumpy and it locked up (and that was running it on the PC)
 
add it to that ftp again. Ill get the sound in. I did it with my porn thing with no drop. I need the exact fps of your original movie tho. quiest i need your help. How can you get it to write a variable to a file and read it again when used again? eg. Watch intro. set introwatched to 1
then save
then when started load introwatch back in so then the movie will onyl play if introwatched = 0?
 
Code:
global
  introwatched=0;

...

begin 
  load("config.cfg",introwatched);
  if(introwatched==0)intro();end;
  if(introwatched==1)menu();end;
 end;

...

process intro();
 begin
   //...play the damn intro, then:
   introwatched=1;
   save("config.cfg",introwatched);
  end;

:D as usual, if you don`t get it or it does not work, just ask :)
 
Back
Top