Provide an option to extract embedded DNG preview pixel size as 4ALLPORTAL image information size
Problem Since 6.8, DNG dimensions are based on DefaultCropSize. This is correct for the camera’s default active area, but a manual crop saved in Adobe Camera Raw (ACR) is not reflected. ACR stores the crop non-destructively in XMP (crs:CropLeft/Top/Right/Bottom and crs:CropAngle), not in DefaultCropSize. Example (simplified numbers): DefaultCropSize is 8000 × 5000, so 4ALLPORTAL shows 8000 × 5000. The image is cropped in ACR to 6000 × 3000 (crs:CropRight 0.75, crs:CropBottom 0.6). The DNG contains an embedded full-size JPEG preview of 6000 × 3000, which already includes the crop. The embedded preview (6000 × 3000) is smaller than the stored size (8000 × 5000). The RAW handling check of 4ALLPORTAL therefore treats it as a reduced image, ignores it and calculates the download derivates from the original RAW. The derivates lose the crop and differ from the preview at 4ALLPORTAL detail page. Impact The pixel size shown for cropped DNGs is wrong, and download derivates are delivered uncropped. Users get different framing from what the photographer edited and from what they see in the preview at 4ALLPORTAL detail page, so they cannot rely on the derivates without re-cropping. If brightness, contrast or other adjustments were also applied in ACR, they are lost in the download derivatives too. Use case A photographer or content creator crops a DNG in Adobe Camera Raw, saves it and uploads it to 4ALLPORTAL. The problem appears in the image information (pixel size) and whenever download derivates are created. Suggested solution Add an option in 4ALLPORTAL to use the embedded preview image for the pixel size shown in the image information. When the option is on: Store the width and height of the embedded JPEG preview as the image dimensions (6000 × 3000 in the example). if the DNG has medium size preview (ACR default), the user has to accept this drawback that 1024 x ??? will be the pixel size shown in the image information. If the DNG has no such preview, keep the current behaviour (DefaultCropSize). Why: the preview already contains the crop, including angled crops, so no crop calculation is needed. Other adjustments made in ACR are applied in the preview too. With the stored size equal to the preview size, the 4ALLPORTAL raw handling check accepts the embedded preview and the download derivates keep the crop and other adjustment.

