mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-04 03:27:05 -05:00 
			
		
		
		
	* Implemented an api for getting file dimensions for a given chapter. This is for CDisplayEx integration. This might be usable in Double Renderer. * Added the cached filename for new API
		
			
				
	
	
		
			14 lines
		
	
	
		
			429 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			429 B
		
	
	
	
		
			C#
		
	
	
	
	
	
namespace API.DTOs.Reader;
 | 
						|
 | 
						|
public class FileDimensionDto
 | 
						|
{
 | 
						|
    public int Width { get; set; }
 | 
						|
    public int Height { get; set; }
 | 
						|
    public int PageNumber { get; set; }
 | 
						|
    /// <summary>
 | 
						|
    /// The filename of the cached file. If this was nested in a subfolder, the foldername will be appended with _
 | 
						|
    /// </summary>
 | 
						|
    /// <example>chapter01_page01.png</example>
 | 
						|
    public string FileName { get; set; } = default!;
 | 
						|
}
 |