User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Image compression

  1. #1
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Image compression

    Hi,
    Is there any way to check out, sprite by sprite, how much memory it does it takes? Let's say we have a jpg file with 50k optimized in Photoshop. In the final .exe compilation it will take exact 50k? Uncompressed PNG files will be compressed inside MMF2? We can check the sound data, size etc, but not with images

    thanks

  2. #2
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Image compression

    Hi,
    Is there any way to check out, sprite by sprite, how much memory it does it takes? Let's say we have a jpg file with 50k optimized in Photoshop. In the final .exe compilation it will take exact 50k? Uncompressed PNG files will be compressed inside MMF2? We can check the sound data, size etc, but not with images

    thanks

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Location
    NJ, USA
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Image compression

    Well, if you use external pictures for sprites you can look up the size and such in the Data Elements tab, but as for Active Object sprites I don't think that's possible. It'd be an interesting feature to see in a future update though.

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Location
    NJ, USA
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Image compression

    Well, if you use external pictures for sprites you can look up the size and such in the Data Elements tab, but as for Active Object sprites I don't think that's possible. It'd be an interesting feature to see in a future update though.

  5. #5
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Image compression

    yeah, but if I use a highly optimized image, the file inside MMF2 will be optimized as well? Using less memory etc? or not? once in the system, it's all the same?

    thanks

  6. #6
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Image compression

    yeah, but if I use a highly optimized image, the file inside MMF2 will be optimized as well? Using less memory etc? or not? once in the system, it's all the same?

    thanks

  7. #7
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Image compression

    That depends on what you are talking about:

    In MFA files, internal images are either compressed with a RLE compression algorithm, or even not compressed if they have an alpha channel. We will probably change this later in a future patch and zip them.

    In CCN/EXE files, internal images are zipped, i.e. the compression is similar to PNG or GIF files. There is no JPEG-like compression. If you want your image to be stored in a JPEG format, you have to use an Active Picture object (for example).

    In memory, the internal images are either not compressed (for example in an Active Picture object after it has loaded the image file), or compressed using a very simple RLE compression algorithm (for example in Active objects).

    You can see the size of your frame in memory in the Debugger window: the size that is displayed is the size of your frame, except for the video memory and the hidden screen surfaces used by the runtime.

    Yves.

  8. #8
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Image compression

    That depends on what you are talking about:

    In MFA files, internal images are either compressed with a RLE compression algorithm, or even not compressed if they have an alpha channel. We will probably change this later in a future patch and zip them.

    In CCN/EXE files, internal images are zipped, i.e. the compression is similar to PNG or GIF files. There is no JPEG-like compression. If you want your image to be stored in a JPEG format, you have to use an Active Picture object (for example).

    In memory, the internal images are either not compressed (for example in an Active Picture object after it has loaded the image file), or compressed using a very simple RLE compression algorithm (for example in Active objects).

    You can see the size of your frame in memory in the Debugger window: the size that is displayed is the size of your frame, except for the video memory and the hidden screen surfaces used by the runtime.

    Yves.

  9. #9
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Image compression

    When I load a high optimized 800x600 JPG file for my background, I'd be loosing my time? Personally I don't care about the mfa size, but I do care a lot about the final .exe file.. and my first choice would be let all the images inside the .exe. You mean that my jpg would be converted to anything else if I don't use active picture? I didn't expect the image beign compressed as JPG, just let my optimized JPG there, with its few kb <img src="/center/images/graemlins/smile.gif" alt="" />

  10. #10
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Image compression

    When I load a high optimized 800x600 JPG file for my background, I'd be loosing my time? Personally I don't care about the mfa size, but I do care a lot about the final .exe file.. and my first choice would be let all the images inside the .exe. You mean that my jpg would be converted to anything else if I don't use active picture? I didn't expect the image beign compressed as JPG, just let my optimized JPG there, with its few kb <img src="/center/images/graemlins/smile.gif" alt="" />

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Inefficient Compression
    By Ls2 in forum Android Export Module Version 2.0
    Replies: 12
    Last Post: 12th July 2012, 06:46 PM
  2. MP3 compression bug
    By Zoglu in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 22nd April 2010, 09:09 AM
  3. jpeg compression
    By gamer4fun in forum Multimedia Fusion 2 - Technical Support
    Replies: 23
    Last Post: 11th June 2007, 03:34 PM
  4. 7 zip compression?
    By LazyCoder in forum Extension Development
    Replies: 21
    Last Post: 30th April 2007, 11:47 PM
  5. Error while compression!
    By Henry in forum Install Creator and Patch Maker
    Replies: 5
    Last Post: 24th April 2007, 04:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •