mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
				synced 2023-10-05 13:01:48 +00:00 
			
		
		
		
	added graphicsmagick compatibility patch
This commit is contained in:
		@@ -98,8 +98,9 @@ bool cImageLoader::LoadOsdElement(cString name, int width, int height) {
 | 
			
		||||
    success = LoadImage(*name, *path, "png");
 | 
			
		||||
    if (!success)
 | 
			
		||||
        return false;
 | 
			
		||||
    cString geometry = cString::sprintf("%dx%d!", width, height);
 | 
			
		||||
    buffer.resize(Geometry(*geometry));
 | 
			
		||||
    Geometry size(width, height);
 | 
			
		||||
    size.aspect(true);
 | 
			
		||||
    buffer.sample(size);
 | 
			
		||||
    return true;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user