Tom Speirs Posted November 20, 2020 Author Share Posted November 20, 2020 Ill look shortly. Cheers. Link to comment Share on other sites More sharing options...
Draco1962 Posted November 20, 2020 Share Posted November 20, 2020 Looks like it is retaining some of the "glare" from the "on" frame. Does it seem to do this if you go to another table? Is it possible this is from the image cache? Link to comment Share on other sites More sharing options...
scutters Posted November 20, 2020 Share Posted November 20, 2020 3 minutes ago, Draco1962 said: Looks like it is retaining some of the "glare" from the "on" frame. Does it seem to do this if you go to another table? Is it possible this is from the image cache? Hide Draco1962's signature Hide all signatures Same on other tables. My guess is the 2nd (off) frame is being cropped somehow to remove the transparent area from it, and then is being overlayed on top of the first / on frame (or the area outside the smaller cropped size isn't refreshed). I could add a single black pixel in each corner of the 'off' frame to try and prove that if it would help Link to comment Share on other sites More sharing options...
Tom Speirs Posted November 21, 2020 Author Share Posted November 21, 2020 Should be all sorted now. Cheers. 1 Link to comment Share on other sites More sharing options...
scutters Posted November 22, 2020 Share Posted November 22, 2020 Thanks Tom.. that has sorted that out Sorry for being a pain with all the issues. Should be able to get a better version of the company logos out soon using apng now 1 Link to comment Share on other sites More sharing options...
scutters Posted December 29, 2020 Share Posted December 29, 2020 Hi Tom, thought i'd resurrect this thread for an apng display issue (rather than in the errors logged in 32 bit thread). Problem with this test apng wheel image; it gets cropped in pinballx 4.80; The cropping differs between frames, sometimes top and bottom sometimes on left and right. There is a lot of transparency used so maybe that's throwing PinballX out? Wheel image cropping is turned off in Display Settings, and i added the wheel to PinballX using a .apng extension (i just changed it to .png to paste here) Let me know if you need more info / examples. Thanks. AC-DC Pwr Up Edition (Original 2020).apng Link to comment Share on other sites More sharing options...
scutters Posted January 8, 2021 Share Posted January 8, 2021 @Tom Speirs In addition to last post. Is there any general guidance for apng use in PinballX when used as wheel images (general pinballx performance / internal limits etc)? E.g. Total Frames - Does this matter to Pinballx (other than more frames will increase file size)? Frame Timing - As you have 5 wheel images displayed at any one time does it matter if all of them have the same frame delays, or would offsetting by 100th sec here and there have a benefit? File Size - Seems obvious that smaller files will be better for reading from disk and then use less memory. Is this the main thing to consider when building apng wheel images?. In the example above the apng is pretty highly compressed and is actually smaller than a lot of my static png wheel images - so i guess it should be ok to use even though there's quite a lot of frames (and would then also be ok with variations of similar for 100's of other wheels?) I guess the same factors would apply for gifs as well as apngs - but because of the transparency handling in gifs i never got round to using a lot of those for wheel images, with apng i probably will Thanks for any tips you can give.. Link to comment Share on other sites More sharing options...
Tom Speirs Posted January 12, 2021 Author Share Posted January 12, 2021 Hey buddy, I am so sorry for the delay. Ill get to it soon. Cheers. Tom. 1 Link to comment Share on other sites More sharing options...
scutters Posted January 19, 2021 Share Posted January 19, 2021 Just a random thought on apngs for wheels... should pinballx only animate the wheel image of the currently selected table (so just static image / first frame for the other 4 visible smaller wheel images)?, maybe as config option? Guess this would use less resources, keep things smooth and maybe avoid the crash issues i've seen with the 32bit version in the other thread?. Probably won't help with the cropping issue here, but figured i'd mention it as an idea while you're looking at this. Link to comment Share on other sites More sharing options...
scutters Posted February 13, 2021 Share Posted February 13, 2021 Hi Tom Just for info, i've removed the area that was getting cropped from the animated wheels above (just posted the app that builds them as they work well with 4.84), the same background effect could be achieved by using an underlay if desired anyway. So no pressure from me on this, but a probably good to get it resolved at some stage. Link to comment Share on other sites More sharing options...
Tom Speirs Posted February 21, 2021 Author Share Posted February 21, 2021 Thanks buddy. Link to comment Share on other sites More sharing options...
Mike_da_Spike Posted March 11, 2021 Share Posted March 11, 2021 Hey Tom, I'm not as good as Scutters into APNG, but are 'Real DMD images' and loading images not supported for APNG ? 1 Link to comment Share on other sites More sharing options...
Tom Speirs Posted March 11, 2021 Author Share Posted March 11, 2021 Im guessing there not supported right now but will look into it buddy. They actually use different code than the usual direct3d library that supports apng. PS: In regard to the source code for apng and your PM. Understand that I have no problem with that. Just getting round to it is why I didnt reply. Cheers. Tom. 2 Link to comment Share on other sites More sharing options...
scutters Posted March 11, 2021 Share Posted March 11, 2021 Apng loading images would be pretty cool - even better if a default loading.apng is included with the install (sorry Tom but i do seem to remember the default loading.gif did look a bit ugly round the edges on a 4k screen! ) Link to comment Share on other sites More sharing options...
Mike_da_Spike Posted March 11, 2021 Share Posted March 11, 2021 Thanks Tom. I know you are pretty busy and I was distracted the last couple of weeks as well, but I am back again ! Just take your time for all. Link to comment Share on other sites More sharing options...
Recommended Posts