Comments (4)
I tried to reproduce your issue as follows:
- open a blu-ray or a dvd subtitle file file with BDSup2Sub
- export it as xml/png
- open any of the exported png images with the default image viewer under Ubuntu (Gnome Image Viewer) and check for transparency
- open any of the exported png images with Gimp 2.8 and check for alpha channel existence (Layer/Transparency/Remove alpha channel should be active; after removing the alpha channel the transparency should be gone)
In all my tests the alpha channel was there.
Do you experience this issue with a specific subtitle file?
Can you try with the latest stable or development version of BDSup2Sub: https://github.com/mjuhasz/BDSup2Sub/downloads
from bdsup2sub.
After a lot of searching i found out there are kinda special PNG encodings within the SUPs. SuperPNG is a Plugin in Photoshop, which makes it possible to open and save 8bit PNG with alpha channel. Since this is not supported in Photoshop u will loose opacity informations when opening the files.
Maybe u should offer a conversion to "default" 32bit PNG or someone should check if the newer PS version support it.
from bdsup2sub.
You ran into the issue described here: https://github.com/mjuhasz/BDSup2Sub/wiki/Supported-Formats
"Note that BDSup2Sub will only export 8bit palettized PNGs with transparency (via tRNS tag) for maximum compatibility with Sonic Scenarist HDMV. Unfortunately, only a few (free) graphic programs support this format correctly. Paint.NET however seems to work just fine."
Indeed, Photoshop cannot open indexed color PNG files that have indexed transparency because it just doesn't fit with Photoshop's image modes. GIMP has the 'Indexed' option under Image/Mode and seems to work well. I get an alpha channel even after exporting and reopening the file (at least under Gimp 2.8).
At the moment I have no plans to change the png format. I have no access to authoring tools so I cannot test the compatibility with them. There are image editors that can handle the indexed png format and I wouldn't want to break the compatibility with authoring tools or the existing workflow of people using the xml/png export feature.
from bdsup2sub.
What will happen if i import PNG32? I noticed problems with colored PNG8+Alpha and the XBMCv11 (didn't tried v12 yet). There seems to be a palette problem - the colors are wrong.
from bdsup2sub.
Related Issues (20)
- Command line option --language is broken
- OSX bundle v.5.1.2 : export menu is disabled
- Faulty DVD sub pictures when size is odd
- Request for inverse of forced only HOT 2
- Bug in export of subtitles - always changes frame rate HOT 1
- Subtitles At Top, Can't Move to Bottom
- Normal and forced start at the same time on DVD
- green background in player after saving subtitle
- feature request: when outputting png files, also output srtx file HOT 1
- out of date dependency for ubuntu 16.04 and later
- Document how to get started or include jar building script HOT 7
- 'Sing-Along' track from Greatest Showman not supported
- “BDSup2Sub” is damaged and can’t be opened. You should move it to the Trash. HOT 1
- Share a release of v5.1.2
- No install instructions
- Export in XML with Timestamp
- something wrong of the WARNING: missing end time of frame and fixed
- BDSup2Sub512.jar does not launch in single user mode (tested on Debian Linux 7 & 11).
- ERROR: Unexpected command 0 at index 0x00000012
- Convert IDX/SUB to Images with time codes in file name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bdsup2sub.