Old post, but did anyone find a solution to why EKOS/INDI creates images with wrong dimensions, and how to correct it?
All images taken with EKOS have dimensions 4950x3344, be it .fits or native .pef
Images taken with camera have dimensions 4950x3284.
raw file taken in camera:

_IGP2122                        
   unique-id                      93963b54-130a-4146-a060-fffe824a510a
   view-creation-time             2021-11-07T21:43:27.222Z
   last-file-update               2021-11-07T23:07:09.000Z
   workspace                      Workspace01 (0)
   new-image                      false
   visible                        true
   loaded-as-copy                 false
   file-info                    
      file-path                   C:/Users/lage/Pictures/astroberry/_IGP2122.PEF
      file-format                 RAW
      format-specific-info        <html>camera='Pentax K-5' ISO=1600 exposure=1s</html>
   lock-state                   
      valid-image                 true
      read-locked                 false
      write-locked                false
      redraw-locked               false
   modification-counter           0
   transfer-rates               
      swap-read                   <not measured>
      swap-write                  <not measured>
   render-rates                 
      screen-rate ?               1429.48 Mpx/s
      screen-time ?               11.369 ms
      screen-count ?              2
   sample-format                  16-bit integer
   pixel-data-size                93.016 MiB (97534800 bytes)
   color-space                    RGB Color
   rgb-working-space            
      local-rgbws                 false
      linear-rgbws                false
   geometry                     
      width                       4950 px
      height                      3284 px
      channel-count               3
      alpha-channel-count         0
      resolution                
         horizontal               100.00 px/inch
         vertical                 100.00 px/inch
         metric                   false
      print-size                
         metric                 
            width                 125.73 cm
            height                83.41 cm
         english                
            width                 49.50 inch
            height                32.84 inch
   processing-history           
      initial-process-count       0
      active-process-count        0
      current-index               0
   metadata                     
      fits-keyword-count          7
      iso-speed                   1600 ISO
      exposure                    1.00000 s
   screen-transfer-functions    
      stf-count                   4
      lut-count                   4
      lut-24bit                   false
      enabled                     true
   properties                   
      Instrument:Camera:ISOSpeed
         owner                    Core
         type                     Int32
         attributes               wr-pst-
         value                    1600
      Instrument:Camera:Name    
         owner                    Core
         type                     String
         attributes               wr-pst-
         value                    Pentax K-5
      Instrument:ExposureTime   
         owner                    Core
         type                     Float
         attributes               wr-pst-
         value                    1
      MAD                       
         owner                    Core
         type                     DVector
         attributes               -r--s-R
         value                    {0.0005798428306841143,0.0003204394601424738,0.0004577706585073718}
      Median                    
         owner                    Core
         type                     DVector
         attributes               -r--s-R
         value                    {0.0009613183781015672,0.000534065766072422,0.0007782101151248837}
      Observation:Time:Start    
         owner                    Core
         type                     TimePoint
         attributes               wr-pst-
         value                    2021-11-07T23:07:06.000Z
      Observer:Name             
         owner                    Core
         type                     String
         attributes               wr-pst-
         value                    Lage_Sjoblom
      PCL:CFASourcePattern      
         owner                    Core
         type                     IsoString
         attributes               wr-pst-
         value                    BGGR
      PCL:CFASourcePatternName  
         owner                    Core
         type                     IsoString
         attributes               wr-pst-
         value                    Bayer
      PCL:sRGBConversionMatrix  
         owner                    Core
         type                     FMatrix
         attributes               wr-pst-
         value                    {{1.617052,-0.4719947,-0.1450577},{-0.1785407,1.697102,-0.5185612},{0.006668461,-0.4439082,1.43724}}
   color-management             
      enabled                     true
      proofing                    false
      gamut-check                 false
Raw file taken in EKOS:
Image_2021_11_07T22_19_49       
   unique-id                      988c239c-b355-4243-9a71-b6e7c8ce3e74
   view-creation-time             2021-11-07T21:28:22.790Z
   last-file-update               2021-11-07T21:26:23.000Z
   workspace                      Workspace01 (0)
   new-image                      false
   visible                        true
   loaded-as-copy                 false
   file-info                    
      file-path                   C:/Users/lage/Pictures/astroberry/Image_2021-11-07T22-19-49.pef
      file-format                 RAW
      format-specific-info        <html>camera='Pentax K-5' ISO=1600 exposure=1s</html>
   lock-state                   
      valid-image                 true
      read-locked                 false
      write-locked                false
      redraw-locked               false
   modification-counter           0
   transfer-rates               
      swap-read                   <not measured>
      swap-write                  <not measured>
   render-rates                 
      screen-rate ?               1484.25 Mpx/s
      screen-time ?               11.160 ms
      screen-count ?              2
   sample-format                  16-bit integer
   pixel-data-size                94.716 MiB (99316800 bytes)
   color-space                    RGB Color
   rgb-working-space            
      local-rgbws                 false
      linear-rgbws                false
   geometry                     
      width                       4950 px
      height                      3344 px
      channel-count               3
      alpha-channel-count         0
      resolution                
         horizontal               100.00 px/inch
         vertical                 100.00 px/inch
         metric                   false
      print-size                
         metric                 
            width                 125.73 cm
            height                84.94 cm
         english                
            width                 49.50 inch
            height                33.44 inch
   processing-history           
      initial-process-count       0
      active-process-count        0
      current-index               0
   metadata                     
      fits-keyword-count          7
      iso-speed                   1600 ISO
      exposure                    1.00000 s
   screen-transfer-functions    
      stf-count                   4
      lut-count                   4
      lut-24bit                   false
      enabled                     true
   properties                   
      Instrument:Camera:ISOSpeed
         owner                    Core
         type                     Int32
         attributes               wr-pst-
         value                    1600
      Instrument:Camera:Name    
         owner                    Core
         type                     String
         attributes               wr-pst-
         value                    Pentax K-5
      Instrument:ExposureTime   
         owner                    Core
         type                     Float
         attributes               wr-pst-
         value                    1
      MAD                       
         owner                    Core
         type                     DVector
         attributes               -r--s-R
         value                    {0.000579842832755666,0.0003204394600692442,0.0004577706579813943}
      Median                    
         owner                    Core
         type                     DVector
         attributes               -r--s-R
         value                    {0.0009613183788106039,0.0005340657661455858,0.000778210115650997}
      Observation:Time:Start    
         owner                    Core
         type                     TimePoint
         attributes               wr-pst-
         value                    2021-11-07T22:45:24.000Z
      Observer:Name             
         owner                    Core
         type                     String
         attributes               wr-pst-
         value                    Lage_Sjoblom
      PCL:CFASourcePattern      
         owner                    Core
         type                     IsoString
         attributes               wr-pst-
         value                    BGGR
      PCL:CFASourcePatternName  
         owner                    Core
         type                     IsoString
         attributes               wr-pst-
         value                    Bayer
      PCL:sRGBConversionMatrix  
         owner                    Core
         type                     FMatrix
         attributes               wr-pst-
         value                    {{1.617052,-0.4719947,-0.1450577},{-0.1785407,1.697102,-0.5185612},{0.006668461,-0.4439082,1.43724}}
   color-management             
      enabled                     true
      proofing                    false
      gamut-check                 false

 

Read More...