Jump to content

Recommended Posts

Yeah, I currently don't have a scaled mode for that tool.

 

If you wanted to hack something in yourself, you could do the fat-bits compensation in a couple places in util/imvtogif.c:

 

   ret = gif_start(&gif, fo, movie.x_dim, movie.y_dim, map_palette, n_cols,1);

 

Change "movie.x_dim" to "movie.x_dim * 2".

 

Next:

 

   ret = gif_wr_frame_m(&gif, prev, delay, mode);

 

Instead of coding directly from the buffer 'prev', create a new buffer (I'll call it 'scaled') and encode from there. Declare it as 'uint_8 scaled[MVI_MAX_X * MVI_MAX_Y * 2];' You don't want to disturb 'prev', as it gets used along with 'curr' for time-delta detection, as I recall. So, something like this works as a cheap hack:

 

   for (i = 0; i < movie.x_dim * movie.y_dim; i++)
       scaled[ i*2 + 0 ] = scaled[ i*2 + 1 ] = prev[i];

   ret = gif_wr_frame_m(&gif, scaled, delay, mode);

 

At least, I think that works. Completely untested. And, in fact, the computer I use to build the Windows builds of my code has died, so I can't even build a Windows binary for y'all to test if you're on Windows.

Edited by intvnut
  • Like 1
Link to comment
https://forums.atariage.com/topic/209570-sdk1600s-imvtogif/#findComment-2711395
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...