---
title: imageWithoutBaseline()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uiimage/imagewithoutbaseline()
---

# imageWithoutBaseline()

Creates a copy of the current image object without any baseline information.

## Declaration

```swift
func imageWithoutBaseline() -> UIImage
```

## Return Value

Return Value A new image object based on the current image but without baseline information.

## Discussion

Discussion Use this method to remove baseline information that might be interfering with the layout of the image.

## See Also

### Changing the image attributes

- [withConfiguration(_:)](uikit/uiimage/withconfiguration(_:).md)
- [applyingSymbolConfiguration(_:)](uikit/uiimage/applyingsymbolconfiguration(_:).md)
- [imageFlippedForRightToLeftLayoutDirection()](uikit/uiimage/imageflippedforrighttoleftlayoutdirection().md)
- [withHorizontallyFlippedOrientation()](uikit/uiimage/withhorizontallyflippedorientation().md)
- [withRenderingMode(_:)](uikit/uiimage/withrenderingmode(_:).md)
- [withAlignmentRectInsets(_:)](uikit/uiimage/withalignmentrectinsets(_:).md)
- [resizableImage(withCapInsets:)](uikit/uiimage/resizableimage(withcapinsets:).md)
- [resizableImage(withCapInsets:resizingMode:)](uikit/uiimage/resizableimage(withcapinsets:resizingmode:).md)
- [withBaselineOffset(fromBottom:)](uikit/uiimage/withbaselineoffset(frombottom:).md)
- [UIImage.Configuration](uikit/uiimage/configuration-swift.class.md)
- [UIImage.SymbolConfiguration](uikit/uiimage/symbolconfiguration-swift.class.md)
